2022.06.22-14.09.50
clojure-lsp-bot
released this
22 Jun 18:11
·
725 commits
to master
since this release
-
General
- clojure-lsp has a flake.nix now, being able to be built using clj-nix. #999
- Remove
use-source-paths-from-classpath
setting, its value was already true and disabling it could cause false-positives. - Add
compute-external-file-changes
setting as true by default, when enabled it will consider file changes outside editor like git branch changes and update analysis, avoiding the need to restart server when a file is changed outside editor, this will only work if client file-watchers is enabled. #1002 - Bump lsp4clj to 0.4.1.
- Remove deprecated disabled setting
:linters :clj-kondo :async-custom-lint?
. #1017 - Fix references and code lens of defrecord/deftype for cljs files. #1055
- Fix clean-ns to move reader conditionals to before normal requires. #1057
- Add new optional linter: clj-depend integration. #957
- Add new setting
:source-paths-ignore-regex
to filter source-paths that are auto generated for example for cljs projects, the default value should be enought for most cases (["resources.*" "target.*"]
), replacing oldignore-classpath-directories
. - Bump clj-kondo to 2022.06.22.
-
Editor
- Add support to rename namespace of namespaced keywords like re-frame events/subs. #978
- Improve performance of find-declaration feature. #1021
- Fix to avoid suggesting an alias from a clj file to a cljs file. #1024
- Find references of namespace usages now find all namespace usages on project, not only the definition. #1022
- Improve element selected on
textDocument/hover
, showing the function being called instead of the closest element found backwards. #995 - Fix drag from quoted symbols and other special nodes #969
- Drag requests two smaller edits, instead of one large edit, potentially avoiding flicker. #1043
- Drag is disabled between clauses, to avoid arbitrarily choosing one to move. #1030
- Cursor doesn't move within dragged clause. #1029
- Improve performance of drag forward.
- Avoid invalid cached analysis and document text after a rename. #1049
- Improve lint performance by only linting references files when usage is added or removed. #1019
- Extracted functions are private. #1039
- Fix errors when Emacs lock files are linted. #1054