Sndr666 · 2022-12-31 12:58
Hi,
I am rejigging my setup and moving my aging language over to lsp and for my python setup I am wondering how lsp determines the project root.
Any tips are greatly appreciated.
​
thx. S
AnugNef4 · 2022-12-31 15:57
The list of project roots/folders is stored (typically) in the file `~/.emacs.d/lsp-session-v1`. You can add a folder interactively in an emacs session with `M-x lsp-workspace-folders-add`. I think one can add a folder at startup with some elisp in `init.el`, but I cannot find an example of that idiom, sorry.
\[edit - grammar\]
Sndr666 · 2022-12-31 19:18
thanks, I'll take a look ! 👍