Fork me on GitHub
#lsp
<
2022-08-24
>
Martynas Maciulevičius14:08:25

Is it possible to run Clojure-LSP on CLJS? For instance 4clojure CLJS could use it to validate the function signatures :thinking_face: Is this possible?

ericdallo14:08:06

clojure-lsp supports cljs if that's what you mean so it should work fine

Martynas Maciulevičius14:08:44

I want to know it it can run completely in the browser :thinking_face:

ericdallo14:08:15

no, it's a process that runs on your development machine OS, not on browser

ericdallo14:08:41

we could support remote connections but it'd need lots of changes ATM

viesti19:08:25

Hmm, is there a way to store list of workspace folders inside a git repository? I have a repo with multiple projects and clojure-lsp seemed to pick up the bb.edn from root of the repo, but I had to add projects in subfolders as workspace folders. Thinking how could I share the workspace folder list with others.

ericdallo19:08:24

Hum, I don't think there is such command, but you probably could do some elisp hack function to do that for you I guess

viesti19:08:42

Yeah, found .emacs.d/.lsp-session-v1 file, which contains all sessions, so I guess there could be a "merge" thing

viesti19:08:04

Thanks for really fast response! :)

👍 1
ericdallo19:08:38

there are lsp-mode functions that read and handle that file, it may be helpful for you

viesti19:08:50

right, and add is probably idempotent

viesti19:08:01

so yeah, could be some elisp

viesti19:08:58

thank you! 🙂