Skip to content

Commit 072245d

Browse files
authored
bugfix: No response when open a file with jdt uri (#220)
1 parent 2aeb0d9 commit 072245d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/dataNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export abstract class DataNode extends ExplorerNode {
5858

5959
protected computeContextValue(): string {
6060
let contextValue = this.contextValue;
61-
if (this.uri) {
61+
if (this.uri && this.uri.startsWith("file:")) {
6262
contextValue = `${contextValue || ""}+uri`;
6363
}
6464
if (contextValue) {

0 commit comments

Comments
 (0)