emacs

liebs 2026-02-27T15:57:58.575019Z

Hey, I've run into an issue I've never encountered before. It seems I rapidly and inattentively hit some keys when LSP was initializing and now the .lsp and .clj-kondo directories are being created in the source tree of my project and not in the root. This causes many many errors to appear. Is there a way to nuke this and get CIDER (or whatever is responsible for this setting) to re-prompt me? Evidently deleting the aforementioned directories is insufficient, and I've barely touched my CIDER config in several years now.

ericdallo 2026-02-27T15:58:38.102579Z

you probably have a bad configured workspace root for your lsp

ericdallo 2026-02-27T15:58:43.658409Z

you can lsp-workspace-folders-remove

ericdallo 2026-02-27T15:59:06.496479Z

and yeah, a wrong workspace root can cause lots of issues as the classpath will be wrong

liebs 2026-02-27T16:01:05.610139Z

Worked great, thanks a bunch @ericdallo! 🙏🏻

👍 1
Harold 2026-02-27T16:04:33.625769Z

If the realization about rapid keying comes reasonably quickly M-x view-lossage can be a good tool.

👍 1
bozhidar 2026-02-27T19:53:45.674599Z

In case anyone wants to learn about Emacs, TreeSitter and clojure-ts-mode https://batsov.com/articles/2026/02/27/building-emacs-major-modes-with-treesitter-lessons-learned/

👍 6
🌲 2
👀 3
2
🙏 4
1