This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-17
Channels
- # announcements (2)
- # babashka (52)
- # beginners (10)
- # calva (9)
- # cider (2)
- # clj-kondo (7)
- # clojure (63)
- # clojure-europe (26)
- # clojuredesign-podcast (5)
- # clojurescript (13)
- # datalog (2)
- # datomic (6)
- # defnpodcast (1)
- # fulcro (46)
- # incanter (4)
- # integrant (5)
- # jobs-discuss (12)
- # kaocha (1)
- # lsp (31)
- # malli (10)
- # meander (1)
- # off-topic (6)
- # podcasts-discuss (1)
- # polylith (20)
- # rewrite-clj (6)
- # shadow-cljs (23)
- # tools-deps (9)
- # xtdb (13)
- # yada (10)
I guess something changed recently, and trying to go to the definition of something from an external library, like clojure.core
, causes lsp and emacs to freeze for a long while. The C-g
interrupts some process and momentarily everything starts working.
I might be misremembering, but I think lsp used to ask if to import a project, now it seems to try to lint everything and always
When working with other people's code and frequently jumping around large projects/libraries, it is very cumbersome.
it is possible that this is a problem with the lsp implementation in emacs and not with clojure-lsp itself, but I don't know how to check
Yes, it was probably related with a change on lsp-mode to improve clojure go to libs
I can say it improved a lot the go to definition since now we use library folders instead of considering the new file as a new project
I did not notice that you had written back.
So basically emacs is unusable. Jump using go to definition
results in 100% professor usage. Killing the clojure-lsp
process helps.
Package: lsp-mode
Source: Straight
Pinned: eda51c21662253fd05b4f3f20ad7b029d9c2aff7
Build: HEAD -> master, replaced, origin/master eda51c216 2021-03-27 19:55:40 +0200
Build location: ~/.emacs.d/.local/straight/build-28.0.50/lsp-mode/
Repo location: ~/.emacs.d/.local/straight/repos/lsp-mode/
Recipe: (:type git :flavor melpa :files
(:defaults "clients/*.el" "lsp-mode-pkg.el")
:host github :repo "emacs-lsp/lsp-mode" :package "lsp-mode" :local-repo "lsp-mode")
Homepage:
Modules: Declared by the following Doom modules:
:tools lsp (readme)
Configs: This package is configured in the following locations:
modules/lang/cc/config.el:288: (after! lsp-mode (require 'ccls))
modules/tools/debugger/config.el:117: (after! lsp-mode (require 'dap-mode))
modules/tools/lsp/+lsp.el:19:(use-package! lsp-mode
Sorry, not the same one, because there are several hundred times the same error concerning different functions