Visitar URL original
Remove hard dependency of redhat.java by Eskibear · Pull Request #617 · microsoft/vscode-java-debug · GitHub
The Wayback Machine - https://web.archive.org/web/20201030183436/https://github.com/microsoft/vscode-java-debug/pull/617
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

Remove hard dependency of redhat.java #617

Merged
merged 8 commits into from Aug 2, 2019
Merged

Conversation

@Eskibear
Copy link
Member

@Eskibear Eskibear commented Jul 23, 2019

Signed-off-by: Yan Zhang yanzh@microsoft.com

This PR removes hard dependency of extension redhat.java, in order not to unneccessarily activate it. So redhat.java will not be activated when debugging other language, esp. when user don't have any java related files in workspace.

Debugger depends on Java extension on:

  • pass params to execute delegate Java workspace command.
  • execute other VS Code commands registered in extension redhat.java.

Thus I check visibility (installed/enabled status) of extension redhat.java. If it's absent, prompt to guide users to install it.

Eskibear added 2 commits Jul 23, 2019
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
@Eskibear Eskibear requested review from testforstephen, jdneo and akaroml Jul 23, 2019
@Eskibear

This comment has been hidden.

Eskibear added 2 commits Jul 23, 2019
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
@Eskibear
Copy link
Member Author

@Eskibear Eskibear commented Jul 23, 2019

debugger-install-java-ext

Eskibear added 2 commits Jul 29, 2019
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
Eskibear added 2 commits Aug 2, 2019
@Eskibear Eskibear merged commit fa49caa into microsoft:master Aug 2, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/cla All CLA requirements met.
Details
@Eskibear Eskibear deleted the Eskibear:pr-rm-dep branch Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.