This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-13
Channels
- # announcements (2)
- # aws (4)
- # babashka (14)
- # beginners (186)
- # cljdoc (2)
- # cljsrn (7)
- # clojure (56)
- # clojure-austin (1)
- # clojure-australia (2)
- # clojure-europe (46)
- # clojure-france (5)
- # clojure-nl (16)
- # clojure-norway (7)
- # clojure-spec (76)
- # clojure-sweden (15)
- # clojure-uk (13)
- # clojurescript (60)
- # code-reviews (2)
- # conjure (8)
- # datascript (1)
- # datomic (4)
- # depstar (10)
- # emacs (9)
- # events (4)
- # exercism (1)
- # fulcro (36)
- # graalvm (8)
- # introduce-yourself (3)
- # jobs-discuss (2)
- # kaocha (14)
- # lsp (1)
- # minecraft (8)
- # new-channels (1)
- # off-topic (3)
- # pathom (6)
- # polylith (9)
- # re-frame (48)
- # shadow-cljs (5)
- # specter (26)
- # tools-deps (19)
- # vim (2)
- # vscode (1)
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/
• 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)

