Fork me on GitHub
#lsp
<
2021-07-05
>
ericdallo15:07:58

clojure-lsp Released https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.07.05-15.12.14 with a bunch of improvements! 🎉 General • Add :clean :sort settings option to disable sorting during clean-ns. • Add :keep value to :ns-indent-blocks-indentation setting to don't change indentation during clean-ns. • Deprecate install-latest-clojure-lsp.sh in place of install new script. • Improve source paths discoverability for leiningen projects following the same rules as deps.edn projects. For more information, check the https://clojure-lsp.github.io/clojure-lsp/settings/#source-paths-discovery. API/CLI • Add --dry option to commands, useful on CI to print only diffs instead of making changes. • Check out the new https://github.com/marketplace/actions/setup-clojure-lsp Github Action to run clojure-lsp on CI! • Add format feature using cljfmt. • Now, every release is available in clojars clojars as com.github.clojure-lsp/clojure-lsp. This release allow clojure-lsp to be configured on CI/scripts to format/clean your code or just warn if not formatted/cleaned 🎉

👍 12
catjam 5
aw_yeah 2
clj839419:07:11

hello, i am having an issue initializing the clojure-lsp. I have a plugin installed for vscode called calva, but when I have a deps.edn file the clojure-lsp never initializes. Without the file it initializes just fine. the only dependency I have in deps.edn is clojurescript. any ideas what the problem might be?

ericdallo19:07:47

Could you get the clojure-lsp log?

ericdallo19:07:11

you can configure a :log-path in your .lsp/config.edn

ericdallo19:07:38

I suspect you don't have clojure installed, but I'd like to config in the logs

clj839419:07:49

it should be installed, I the clj command works fine. the version of clojure installed is 1.10.2.774

ericdallo19:07:10

hum, could you paste the clojure-lsp log?

ericdallo19:07:15

even so, clojure-lsp should start, this could be other issue

clj839419:07:25

nevermind, turns out it was just a configuration issue on my end, its working now as intended

clj839419:07:48

thanks for the help

👍 4