kotlin-language-server
kotlin-language-server copied to clipboard
Cache Workspace Data
At the moment, when the language server starts, we setup the project as if it was never opened before. This means we have to resolve all the dependencies, compile all the files and index all the symbols. We could cache some (or all) of these things for each project. This would lead to faster startup times for projects that were opened before. We would obviously need to make sure the project didn't change since it was last opened.
This could help to address https://github.com/fwcd/kotlin-language-server/issues/160 and https://github.com/fwcd/kotlin-language-server/issues/327
I think this one can be closed right? I was searching around issues and saw the PR is already merged for this. Thanks by the way!
I think this one can be closed right? I was searching around issues and saw the PR is already merged for this. Thanks by the way!
My intent with this issue was caching multiple things (dependencies, symbol index, etc). We have a merged PR for caching dependencies, but there are still things we want to cache. I suppose we could create separate issues for them, if you prefer.