-
Notifications
You must be signed in to change notification settings - Fork 99
Support right click context for viewer nodes #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
cb37fd6
6198969
6cd2ad0
d381c90
3fbdb78
f2f740b
cba229e
c87df7d
2949f08
3efc15b
9f71db3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ | |
| "explorer" | ||
| ], | ||
| "engines": { | ||
| "vscode": "^1.30.0" | ||
| "vscode": "^1.31.0" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
|
|
@@ -83,6 +83,21 @@ | |
| "dark": "images/dark/icon-link.svg", | ||
| "light": "images/light/icon-link.svg" | ||
| } | ||
| }, | ||
| { | ||
| "command": "java.view.package.revealFileInOS", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. revealFileInOS -> revealInExplorer
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In contrast,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so why not to mount the VS Code builtin command to the dependency explorer directly?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be best that we could mount the builtin command directly. (The
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems VS Code provides different names in different OSes, could you check whether we need keep consistent?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry for I didn't notice this comment... As this file shows, VS Code does provide different names here:
And the Chinese translation uses that localization: "vs/workbench/contrib/files/electron-browser/fileActions.contribution": {
"revealInWindows": "在资源管理器中显示",
"revealInMac": "在 Finder 中显示",
"openContainer": "打开所在的文件夹",
"filesCategory": "文件"
},Currently I have no knowledge of how to utilize the localization here according to OS...
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Currently i'm OK to keep the same one, if there is user complaint, then fix it. |
||
| "title": "%contributes.commands.java.view.package.revealFileInOS%", | ||
| "category": "Java" | ||
| }, | ||
| { | ||
| "command": "java.view.package.copyFilePath", | ||
| "title": "%contributes.commands.java.view.package.copyFilePath%", | ||
| "category": "Java" | ||
| }, | ||
| { | ||
| "command": "java.view.package.copyRelativeFilePath", | ||
| "title": "%contributes.commands.java.view.package.copyRelativeFilePath%", | ||
| "category": "Java" | ||
| } | ||
| ], | ||
| "configuration": { | ||
|
|
@@ -147,6 +162,23 @@ | |
| "when": "view == javaDependencyExplorer && config.java.dependency.syncWithFolderExplorer == true", | ||
| "group": "navigation@0" | ||
| } | ||
| ], | ||
| "view/item/context": [ | ||
| { | ||
| "command": "java.view.package.revealFileInOS", | ||
| "when": "view == javaDependencyExplorer", | ||
| "group": "@1" | ||
| }, | ||
| { | ||
| "command": "java.view.package.copyFilePath", | ||
| "when": "view == javaDependencyExplorer", | ||
| "group": "@2" | ||
| }, | ||
| { | ||
| "command": "java.view.package.copyRelativeFilePath", | ||
| "when": "view == javaDependencyExplorer", | ||
| "group": "@2" | ||
| } | ||
| ] | ||
| }, | ||
| "views": { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.