LSPs keep accumulating, how do I remove them?
Question
I have been working in the same workspace across different sessions for a while and the amount of LSPs keeps increasing:
How do I get rid of old ones? The documentation was rather unclear on where they are stored and clearing the session doesn't remove them.
This issue might be a duplicate of existing issues. Please check:
- #3526: Performance issue: session-child-cycle becomes extremely slow with many sessions
The issue you're experiencing with LSPs accumulating over time in the same workspace is related to how sessions persist. Session #3526 discusses performance degradation when workspaces have many sessions. While not directly about LSP cleanup, managing old sessions may help reduce accumulated LSPs.
Feel free to ignore if these don't address your specific case.
wdym by remove? What are you expecting to happen / want?
I would expect that starting a new session clears the LSPs instead of accumulating more and more of them. However, after updating it looks like they are gone again. Just was a bit confused since I did not configure any of these LSPs myself and I couldn't find where they were stored...