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
expand selection feature not respecting server textDocument/selectionRange response #1007
I implemented in clojure-lsp the textDocument/selectionRange and it's working great in other editors, but in IntelliJ it's merging the default IntelliJ selection with the one clojure-lsp responded.
Could you try without your plugin with user defined ls to use textmate (and not have installed your plugin to be sure that it doesn't use custom PsiFile)
Activity
angelozerr commentedon Apr 30, 2025
@ericdallo this trace comes from LSP4IJ?
angelozerr commentedon Apr 30, 2025
@ericdallo have you a custom PsiFile?
Could you try without your plugin with user defined ls to use textmate (and not have installed your plugin to be sure that it doesn't use custom PsiFile)
ericdallo commentedon Apr 30, 2025
@angelozerr yes we have a custom PsiFile, I can try but how we could make it use only lsp4ij?
ericdallo commentedon Apr 30, 2025
same problema, updated logs with textmate only:
ericdallo commentedon Apr 30, 2025
This is how vscode does, which is what I expect:
angelozerr commentedon Apr 30, 2025
Where can I donwload your language server? Or perhaps could you attach your clojure-lsp .exe in the issue.
ericdallo commentedon Apr 30, 2025
Here you will find a nightly build which supports selectionRange
angelozerr commentedon Apr 30, 2025
I have tried it and I have this error (on Wondows 64)
angelozerr commentedon Apr 30, 2025
Opps sorry Ican reproduce your issue.
But when your clojure file has an error it fails
Ex:
ericdallo commentedon Apr 30, 2025
Yes, with a wrong code it should not work indeed, try:
fix: expand selection feature not respecting server
fix: expand selection feature not respecting server
fix: expand selection feature not respecting server
angelozerr commentedon May 1, 2025
@ericdallo please try nighty build.
ericdallo commentedon May 2, 2025
That fixed! thank you @angelozerr