lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
ericdallo 2021-07-05T15:48:58.302100Z

: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 🎉

👍 5
1
1
clj8394 2021-07-05T19:21:11.304200Z

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?

ericdallo 2021-07-05T19:21:47.304300Z

Could you get the clojure-lsp log?

ericdallo 2021-07-05T19:22:11.304500Z

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

ericdallo 2021-07-05T19:22:38.304700Z

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

clj8394 2021-07-05T19:24:49.305Z

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

ericdallo 2021-07-05T19:25:10.305200Z

hum, could you paste the clojure-lsp log?

ericdallo 2021-07-05T19:27:15.305400Z

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

clj8394 2021-07-05T19:43:25.305600Z

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

ericdallo 2021-07-05T19:43:40.305800Z

good 🙂

clj8394 2021-07-05T19:43:48.306100Z

thanks for the help

👍 2