Skip to content

Synchronize bundles on demand#2729

Merged
jdneo merged 1 commit into
redhat-developer:masterfrom
jdneo:cs/install-bundle
Oct 12, 2022
Merged

Synchronize bundles on demand#2729
jdneo merged 1 commit into
redhat-developer:masterfrom
jdneo:cs/install-bundle

Conversation

@jdneo

@jdneo jdneo commented Oct 10, 2022

Copy link
Copy Markdown
Collaborator
  • Allow server to ask bundles to synchronize before ready.
  • When new bundle is detected, instead of asking user to reload window, we will try to let JDT.LS hot load the bundle first.

requires eclipse-jdtls/eclipse.jdt.ls#2267

How to test

  1. disable some extensions that have java extension contributions
  2. launch redhat.java
  3. after server is ready, enable an extension
bundle.mp4

Signed-off-by: sheche sheche@microsoft.com

@jdneo

jdneo commented Oct 11, 2022

Copy link
Copy Markdown
Collaborator Author

This PR should also help the case that no delegate command exceptions are thrown. See: microsoft/vscode#161563 (comment)

Comment thread src/plugin.ts Outdated
- Allow server to ask bundles to synchronize before ready.
- When new bundle is detected, instead of asking user to reload window,
  we will try to let JDT.LS hot load the bundle first.

Signed-off-by: sheche <sheche@microsoft.com>
@jdneo jdneo force-pushed the cs/install-bundle branch from 460df1a to 15aab66 Compare October 11, 2022 07:54

@rgrunber rgrunber left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Works for me. Feel free to merge when ready.

@jdneo jdneo merged commit c582159 into redhat-developer:master Oct 12, 2022
@jdneo jdneo deleted the cs/install-bundle branch October 12, 2022 05:05
@rgrunber rgrunber added this to the End October milestone Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants