Ivan Yonchovski
Ivan Yonchovski
I agree that it is not the optimal solution, but at this point, this is the simplest solution having in mind that the language servers that are running in the...
> Does that also ignore deletion events for the folder itself? The deletion events comes from the parent folder so it is fine to ignore the folder itself. I will...
I have pushed https://github.com/emacs-lsp/lsp-mode/commit/1f7e807d27e6b3e41f3a51b3d509a555d2692b34 which fixes the `directory-files-recursively` issue and I have documented the "Limitations" in the README page. I am not planning to address the issue related to optimizing...
@uqix the dir local solution will be per project. But you may use `lsp-file-watch-ignored` to skip a particular folder from being monitored.
> Is there a chance for this to be re-visited? Or is there any way to work around this limitation from a language server implementation side? No. I am looking...
> Is this related to the fact that emacs keeps hanging on me with he message "_. . . so watching the Repo may slow emacs down. Do you want...
> Functions lsp--directory-files-recursively and lsp-watch-root-folder should exit early when number of files is greater than lsp-file-watch-threshold. At least lsp--directory-files-recursively really should exit early. We could do that if we change...
> I'm wondering if watching `$HOME` is the intended behavior, or if it's a bug in either `lsp-mode` or `spacemacs`, most likely you have incidentally added the home folder as...
@Nathan-Furnal check whether you have accidentally added your home dir as a root folder. Do `M-x lsp-describe-session` and then use `M-x lsp-workspace-folders-remove`. FWIW I will change the code that counts...
@Nathan-Furnal press `I` when you are asked to select project root.