Skip to content

Commit a1e6555

Browse files
Update src/explorer/models/cspFileNode.ts
Add conditional set of resourceUri for CSPFileNode per suggestion by @daimor Co-authored-by: Dmitry Maslennikov <[email protected]>
1 parent eb6af2e commit a1e6555

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/explorer/models/cspFileNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export class CSPFileNode extends NodeBase {
2020
command: "vscode-objectscript.explorer.openCSPFile",
2121
title: "Open File",
2222
},
23+
resourceUri: isLocalFile ? itemUri : undefined,
2324
contextValue: CSPFileNode.contextValue,
2425
label: `${displayName}`,
2526
tooltip: isLocalFile ? undefined : this.fullName,

0 commit comments

Comments
 (0)