Skip to content

Giant Project & VS Code Restart #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bleshik opened this issue Sep 6, 2019 · 2 comments
Open

Giant Project & VS Code Restart #160

bleshik opened this issue Sep 6, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@bleshik
Copy link

bleshik commented Sep 6, 2019

My current setup:

  1. MacOS Mojave
  2. VS Code Insiders
  3. Remote SSH Extension
  4. On the Remote Host the Kotlin extension is installed (which obviously uses kotlin-language-serve)

Problem:
The setup itself works, but not very usable. For a project Im currently working on it takes almost 2 hours to resolve dependencies before the server initialised. When the init process is done, the extension works just fine. However, the 2 hours init process is performed every time I connect to the remote host (or restart the vs code).

Expected behaviour:
After a full successful initialisation I'd expect the server to use the resolved dependencies event after the restart, the dependencies update may be done in background, while the server uses the (cached?) result after the previous initialisation. If there is such a caching ability, it would be very useful to have the description of how to set it up on README.

@fwcd fwcd added the enhancement New feature or request label Sep 6, 2019
@fwcd
Copy link
Owner

fwcd commented Sep 6, 2019

Yeah, caching the dependencies seems like a reasonable solution to this. Do you use Gradle or Maven? In case you use Gradle, a daemon should keep running in the background providing fast, incremental builds/dependency resolutions.

@bleshik
Copy link
Author

bleshik commented Sep 9, 2019

@fwcd I'm using Gradle, I think I've explicitly disabled daemons due to some issues, I'll give it a try with daemons a bit later. Thank you for the hint!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants