You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support workProgressParams on initialize request #750
Use case: clojure-lsp server uses this feature a lot during server initialization, without it users don't have good feedback during server initialization.
Create a new class like ClojureLSPClientFeatures which extends LSPClientFeatures and override the LSPClientFeatures#initializeParameters(InitializeParameters initializeParameters) and update the parameters with your token.
Returns an instance of ClojureLSPClientFeatures by overriding your LanguageServerFactory#createClientFeatures()
Activity
fix: Support workProgressParams on initialize request
fix: Support workProgressParams on initialize request
angelozerr commentedon Jan 24, 2025
@ericdallo you should now customize initialize params as you wish with LSPClientFeatures. See https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPApi.md
Create a new class like
ClojureLSPClientFeatureswhich extendsLSPClientFeaturesand override theLSPClientFeatures#initializeParameters(InitializeParameters initializeParameters)and update the parameters with your token.Returns an instance of
ClojureLSPClientFeaturesby overriding yourLanguageServerFactory#createClientFeatures()See doc https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPApi.md for more infos.
This new API is available by installing nightly-builds
fix: Support workProgressParams on initialize request
ericdallo commentedon Jan 24, 2025
Awesome, I will test it @angelozerr, thank you!
ericdallo commentedon Jan 24, 2025
@angelozerr not sure nightly builds are building properly, I see some failed when should-build is true: https://github.com/angelozerr/lsp4ij/actions/workflows/nightly.yml
Would be possible to manually trigger it so I can test this change?
angelozerr commentedon Jan 24, 2025
You dont see the proper github repo. The link should be redhat developer and not zngelozerr. See https://github.com/redhat-developer/lsp4ij/actions/workflows/nightly.yml
ericdallo commentedon Jan 24, 2025
Got it, that explains a lot 😅
ericdallo commentedon Jan 24, 2025
That worked @angelozerr!
I just expected that the title of the task would be the
message, any chance we can improve that?angelozerr commentedon Jan 24, 2025
You mean using setText instead of setText2 ?
ericdallo commentedon Jan 24, 2025
I don't know what methods are those 🤔
angelozerr commentedon Jan 24, 2025
I mean
lsp4ij/src/main/java/com/redhat/devtools/lsp4ij/features/progress/LSPProgressManager.java
Line 142 in 2ff3a13
ericdallo commentedon Jan 24, 2025
Ah yes, is it possible for me to customize that? I suppose something in LSPClientFeatures?
angelozerr commentedon Jan 24, 2025
The setText -> setText2 change has been done in #647
Since you don't likethis behaviour, it makes senses to customize it, please create a new issue.