Replies: 6 comments 22 replies
-
Format document using
|
Beta Was this translation helpful? Give feedback.
-
Option to override
|
Beta Was this translation helpful? Give feedback.
-
Support semantic-tokensThis is a recent feature introduced on latest LSP 3.16, clojure-lsp already supports and it's used by lsp-mode(Emacs) already. Basically, clojure-lsp returns what is the meaning of each token for a document like keywords, functions, variables, comments etc, and the client adds the colors they want for those tokens following the current user theme.
|
Beta Was this translation helpful? Give feedback.
-
There's an overarching question here about relying on clojure-lsp for more functionality than we already do. @PEZ, do you think it's fine to rely more on clojure-lsp for things like formatting and coloring? I definitely see a benefit in doing that, rather than continuing to maintain that related code ourselves, but maybe you see otherwise. |
Beta Was this translation helpful? Give feedback.
-
Thanks for starting this discussion! |
Beta Was this translation helpful? Give feedback.
-
Using default VSCode terminal for clojure-lsp classpath lookupToday I have tried to open up a clojure project of mine in VSCode after a long break and, after updates, found out that clojure-lsp cannot figure out classpath with the following error:
It turned out that PowerShell is known as the Thanks to @crimsonhawk47 and #1807, I managed to redefine the I followed the linked issue in the clojure-lsp repository and the corresponding PR with a proposed solution. Even though it solves the issue for clojure-lsp as a standalone project, I think Calva should rather specify the terminal that is configured in VSCode to the clojure-lsp. For example, I would like clojure-lsp to use Git Bash which is set as a default terminal in my instance of VSCode: "terminal.integrated.defaultProfile.windows": "Git Bash" So I would like to discuss is there a way for Calva to figure out the command for default VSCode terminal and specify it for the clojure-lsp to use during classpath lookup? |
Beta Was this translation helpful? Give feedback.
-
Hey, with the latest Calva release, I managed to install Calva on my NixOS and test the integration with clojure-lsp 🎉
It works really well, congratulations on the effort on this :)
I created this to discuss how we can improve the integration of clojure-lsp features with Calva, let me know if you prefer a separate issue for that, is just that the things discussed here are not necessarily an issue but something we can discuss if makes sense for everyone/users.
Beta Was this translation helpful? Give feedback.
All reactions