-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Regressions introduced with clojure-lsp multi-project support in 2.0.327 #2041
Labels
Comments
PEZ
added a commit
that referenced
this issue
Jan 28, 2023
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
When the `"when-workspace-opened-use-workspace-root"` setting is enabled the clojure-lsp is started in _all_ workspace roots open instead of only valid clojure project roots. This commit reworks this behaviour to first check if the workspace root is a valid Clojure project before attempting to auto-start the lsp server. Addresses BetterThanTomorrow#2041
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
This resolves a regression from BetterThanTomorrow#2020 which prevents certain vscode operations such as organise-imports and add-missing-import from functioning correctly. This was a result of disabling the automatic command registrations being performed by the lsp client. Originally it was assumed that these commands were unused, however they are used internally by vscode to handle their native organise-imports and related operations. This is now fixed by manually registering the missing commands with the added functionality of multi-client support. Addresses BetterThanTomorrow#2041 Fixes BetterThanTomorrow#2040
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
The clojure-lsp refactor project in BetterThanTomorrow#2020 reworked the way the project picker menus work, adding additional information on a second line indicating which files contributed to a folder being picked as a valid clojure project. This turned out significant hurt the UX experience in workspaces with many clojure projects. This commit removes the additional information from the picker menus, shrinking the list items to a single line. Some other smaller changes included: - Projects are now grouped by their workspace root which should help make it easier to sort through the list visually. - Project folders are now sorted within their groups to make the list more deterministic. - Project folders show the path relative to the workspace root instead of the absolute path. This should help make scanning the list easier by removing unnecessary/duplicate information. Addresses BetterThanTomorrow#2041 Closes BetterThanTomorrow#2043
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
When the `"when-workspace-opened-use-workspace-root"` setting is enabled the clojure-lsp is started in _all_ workspace roots open instead of only valid clojure project roots. This commit reworks this behaviour to first check if the workspace root is a valid Clojure project before attempting to auto-start the lsp server. Addresses BetterThanTomorrow#2041
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
This resolves a regression from BetterThanTomorrow#2020 which prevents certain vscode operations such as organise-imports and add-missing-import from functioning correctly. This was a result of disabling the automatic command registrations being performed by the lsp client. Originally it was assumed that these commands were unused, however they are used internally by vscode to handle their native organise-imports and related operations. This is now fixed by manually registering the missing commands with the added functionality of multi-client support. Addresses BetterThanTomorrow#2041 Fixes BetterThanTomorrow#2040
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
The clojure-lsp refactor project in BetterThanTomorrow#2020 reworked the way the project picker menus work, adding additional information on a second line indicating which files contributed to a folder being picked as a valid clojure project. This turned out significant hurt the UX experience in workspaces with many clojure projects. This commit removes the additional information from the picker menus, shrinking the list items to a single line. Some other smaller changes included: - Projects are now grouped by their workspace root which should help make it easier to sort through the list visually. - Project folders are now sorted within their groups to make the list more deterministic. - Project folders show the path relative to the workspace root instead of the absolute path. This should help make scanning the list easier by removing unnecessary/duplicate information. Addresses BetterThanTomorrow#2041 Closes BetterThanTomorrow#2043
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
This resolves a regression from BetterThanTomorrow#2020 which prevents certain vscode operations such as organise-imports and add-missing-import from functioning correctly. This was a result of disabling the automatic command registrations being performed by the lsp client. Originally it was assumed that these commands were unused, however they are used internally by vscode to handle their native organise-imports and related operations. This is now fixed by manually registering the missing commands with the added functionality of multi-client support. Addresses BetterThanTomorrow#2041 Fixes BetterThanTomorrow#2040
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
The clojure-lsp refactor project in BetterThanTomorrow#2020 reworked the way the project picker menus work, adding additional information on a second line indicating which files contributed to a folder being picked as a valid clojure project. This turned out significant hurt the UX experience in workspaces with many clojure projects. This commit removes the additional information from the picker menus, shrinking the list items to a single line. Some other smaller changes included: - Projects are now grouped by their workspace root which should help make it easier to sort through the list visually. - Project folders are now sorted within their groups to make the list more deterministic. - Project folders show the path relative to the workspace root instead of the absolute path. This should help make scanning the list easier by removing unnecessary/duplicate information. Addresses BetterThanTomorrow#2041 Closes BetterThanTomorrow#2043
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
julienvincent
added a commit
to julienvincent/calva
that referenced
this issue
Jan 30, 2023
The clojure-lsp refactor project in BetterThanTomorrow#2020 reworked the way the project picker menus work, adding additional information on a second line indicating which files contributed to a folder being picked as a valid clojure project. This turned out significant hurt the UX experience in workspaces with many clojure projects. This commit removes the additional information from the picker menus, shrinking the list items to a single line. Some other smaller changes included: - Projects are now grouped by their workspace root which should help make it easier to sort through the list visually. - Project folders are now sorted within their groups to make the list more deterministic. - Project folders show the path relative to the workspace root instead of the absolute path. This should help make scanning the list easier by removing unnecessary/duplicate information. Addresses BetterThanTomorrow#2041 Closes BetterThanTomorrow#2043
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following issues have been found with the latest change:
add require
feature after updating to 2.0.327 version #2040CC @julienvincent
Version 2.0.328 has been released and is a rollback of 2.0.327. Once we have the above items fixed, we can push the multi-project support out again.
The text was updated successfully, but these errors were encountered: