Fork me on GitHub
#lsp
<
2021-09-13
>
ericdallo20:09:49

clojure-lsp Released clojure-lsp https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.09.13-19.32.00, the first release supported by https://www.clojuriststogether.org/ clojurists-together gratitude • General ◦ Create .clj-kondo folder if not exists in project root. https://github.com/clojure-lsp/clojure-lsp/issues/528 ◦ Fix exception when `:clojure-lsp/unused-public-var` linter is `:off`. https://github.com/clojure-lsp/clojure-lsp/issues/546 ◦ Bump clj-kondo to `2021.08.07-20210903.210340-28` to fix a false-positive with potemkin. https://github.com/clj-kondo/clj-kondo/issues/1370. ◦ Bump clj-kondo to `2021.08.07-20210909.131804-29` fixing issues with built-in clj-kondo cache not present on graalvm binaries. https://github.com/clojure-lsp/clojure-lsp/issues/548 ◦ Exclude `cljs.test/deftest` from unused public vars linter. ◦ Migrate default db file from `.lsp/sqlite.db` to `.lsp/.cache/sqlite.db`, this is necessary as in the future we will replace sqlite with other db implementation, for users they just need to consider/gitignore the `.lsp/.cache` folder, this way any next change on db implementations or any other cache will not affect user. ◦ Auto migrate existing `.lsp/sqlite.db` to new `.lsp/.cache/sqlite.db` to avoid unnecessary project re-scan. ◦ Deprecates `:sqlite-db-path` in place of `:cache-path`. • Editor ◦ Fix `didChangeWatchedFiles` to correctly create the file on server, properly change file content and re-scan with clj-kondo, or remove file analysis. This should improve LSP analysis reliability when changing files outside the editor. https://github.com/clojure-lsp/clojure-lsp/issues/536 ◦ Improve completion only showing valid local vars for current cursor. ◦ Improve completion sorting adding priority to each item, showing most used symbols like variables and functions first before other completion items. • API/CLI ◦ New `diagnostics` command, which return all diagnostics found by clojure-lsp (using clj-kondo). Check the API section for more details. Besides a lot of fixes and improvements, clojure-lsp has its `diagnostics` feature available via API/CLI now, making clojure-lsp the only tool that can do most lint tasks in a single tool! • Cleaning namespaces • Formatting namespaces • Lint diagnostics (using clj-kondo)

👍 18
aw_yeah 4
catjam 6