This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-08
Channels
- # announcements (1)
- # babashka (28)
- # beginners (30)
- # calva (1)
- # cider (13)
- # clojure (26)
- # clojure-brasil (2)
- # clojure-europe (29)
- # clojure-italy (1)
- # clojure-nl (1)
- # clojure-norway (16)
- # clojure-spec (4)
- # clojure-uk (5)
- # cursive (17)
- # data-science (15)
- # datomic (8)
- # emacs (8)
- # events (1)
- # hyperfiddle (54)
- # joyride (18)
- # jvm (2)
- # kaocha (8)
- # lsp (8)
- # malli (4)
- # missionary (11)
- # reagent (5)
- # reitit (13)
- # releases (2)
- # rum (2)
- # scittle (6)
- # shadow-cljs (3)
When running eglot-code-actions
, it looks like I no longer get the Add require '[whatever]' x N
option for unresolved symbols. Any one else seen this, or have I just (again) broken my emacs/lsp config? (EDIT: works fine with lsp-mode
)
seems to work fine with lsp-mode
:man-shrugging:
try to check the json messages between client and server of eglot and lsp-mode to understand what's different
I am experiencing the strangest thing in LSP with Emacs Prelude.
I have a folder (let's call it clojure-projects) that houses my clojure projects. All the projects in it were created using lein new app
.
If I open any of these projects, I get the message LSP:: connected to [clojure-lsp:16038 ~/clojure-projects/
or something along those lines in my Emacs, when I open any file in one of those projects s.a., project.clj
Since yesterday, I created a new project new-project
in the same directory using the same method as before. However, whenever I open any file there including the project.clj
file, the message is LSP:: connected to [clojure-lsp ~/clojure-projects]
. It's trying to connect on the parent folder for some reason, and attempting to index every lower-level file. since I refuse to allow it to index the entire parent folder, many LSP features don't work. I have tried deleting and re-creating the project and I get the same issue 😕
What can I do to fix this? I don't see a way to manually set the LSP path.
that's a common lsp-mode problem where you accidentally import the wrong project root, you can remove it with lsp-workspace-folders-remove
Thank you so much! That worked. I can't believe how much time I spent frustrated by this. I have made about 10 clojure projects in the past 6 months and every other time this just worked, so I wasn't used to spending time here. Do you have any idea as to how it got in this state?