Skip to content
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

feat: Add 'Reveal in Java Projects' in editor titile context #332

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

jdneo
Copy link
Member

@jdneo jdneo commented Sep 23, 2020

demo

@jdneo jdneo added this to the 0.14.0 milestone Sep 23, 2020
},
{
"command": "java.view.package.revealInProjectExplorer",
"when": "resourceExtname == .java && java:projectManagerActivated && java:serverMode == Standard",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paranthesis in "when" is not supported so here I split them into two part: microsoft/vscode#91473

@jdneo jdneo force-pushed the cs/editor-shortcut branch from 6a807ba to 2fb1b7e Compare September 23, 2020 08:40
@@ -248,10 +248,27 @@
}
],
"explorer/context": [
{
"command": "java.view.package.revealInProjectExplorer",
"when": "resourceFilename in java:supportedBuildFiles && java:projectManagerActivated && java:serverMode == Standard",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in java:supportedBuildFiles? or in supportedBuildFiles

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, it's a name convention you used.

@jdneo jdneo added the enhancement New feature or request label Sep 23, 2020
@jdneo jdneo merged commit 28e5f7b into master Sep 23, 2020
@jdneo jdneo deleted the cs/editor-shortcut branch September 23, 2020 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants