Fork me on GitHub
#lsp
<
2022-05-23
>
otfrom08:05:29

Is there a way to get the lsp-ui buffer stuff, but in a dedicated buffer like *Flycheck errors*? I'm finding that useful and I'd quite like to have an eldoc or clojure-lsp like thing for that

ericdallo11:05:52

Hum, I think it would need lsp-ui changes, you can open a issue on lsp-ui I think

otfrom11:05:49

thx! just wanted to make sure I wasn't missing something that was already there

otfrom14:05:34

ah, looks like I can get what I want with lsp-treemacs-errors-list https://github.com/emacs-lsp/lsp-treemacs

ericdallo14:05:29

yeah, those are not lsp-ui related, I thought you mean code-actions and other lsp-ui stuff

ericdallo15:05:17

clojure-lsp Released clojure-lsp 2022.05.23-13.18.11 focusing on improving existing features and fixing some bugs • General ◦ Allow specify how many classes clojure-lsp should check before moving sorted package imported classes to next line. https://github.com/clojure-lsp/clojure-lsp/issues/966 ◦ Allow :linters to be configured by LSP clients passing string keys/values. https://github.com/clojure-lsp/clojure-lsp/pull/977 ◦ Support clj-kondo :config-in-ns and :ns-groups for clojure-lsp/unused-public-var linter. https://github.com/clojure-lsp/clojure-lsp/issues/981 ◦ Improve clean-ns correct positioning of multiple refers. • Editor ◦ Fix powershell.exe command execution error on Windows ◦ Fix drag in are when clojure.test is aliased. https://github.com/clojure-lsp/clojure-lsp/issues/967 ◦ Reduce time to calculate semantic tokens, reducing CPU usage in large files. https://github.com/clojure-lsp/clojure-lsp/issues/970 ◦ Fix JDK global cache load when jdk source were already analyzed on previous sessions, fixing finding definition of jdk classes not working sometimes. ◦ Fix command move-form not working. ◦ Fix find definition of macros required by :require-macros on cljs files. https://github.com/clojure-lsp/clojure-lsp/issues/980 ◦ Add support to completion keywords found on function definition :keys destructuring, improving completion on api calls. ◦ Avoid duplicate parens when inserting snippets during completion. https://github.com/clojure-lsp/clojure-lsp/issues/982 • CLI/API ◦ Make all cli features open files faster, improving speed of all CLI/API features. Fixes https://github.com/clojure-lsp/clojure-lsp/issues/985 The most notable changes are: Fix Java global cache, java navigation was only working on first time and not after cached. Huge performance improvement on semantic tokens for big files, this should considerably reduce flickering We now have completion of function arguments checking available :keys on function definition:rocket: Improve performance of clean-ns/format on API/CLI. Thank you for everyone who contributed to the release with Issues, PRs and feedbacks!

🎉 15
🚀 3
👏 3
metal 3
rafaeldelboni17:05:44

Is there any github action that installs clojure-lsp on the github runner?

rafaeldelboni18:05:37

Another question, when I format in my machine it makes the java imports looks different from the pipeline, what I'm doing wrong

rafaeldelboni18:05:31

both are using the same version 2022.05.23-13.18.11

rafaeldelboni18:05:19

my local .lsp/config.edn

rafaeldelboni18:05:23

Ah forget, I was using a different version of clj in both machines

rafaeldelboni18:05:46

with both using the same version is working as expected