Skip to content
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

Show Progress Indicator while server is loading #97

Closed
electr0sheep opened this issue Jan 14, 2019 · 2 comments
Closed

Show Progress Indicator while server is loading #97

electr0sheep opened this issue Jan 14, 2019 · 2 comments

Comments

@electr0sheep
Copy link
Contributor

The language server takes quite a while to load for me (I'm working in quite a big rails project). It would be nice if the server could be started more quickly, however, if we could at least get a progress indicator, I'd know that something was happening.

(On a completely unrelated note, solargraph is phenomenal, thanks a lot for the work you've put into it.)

@castwide
Copy link
Owner

Thanks!

I've looked into implementing progress indicators for long-running processes. Unfortunately, there's not much support for it in VS Code, and none at all in the language server protocol. I haven't found a way to implement them from scratch that isn't flaky. For now the best I could do is the two messages that appear in the status bar at the bottom left: Starting the Solargraph language server... and Solargraph is ready.

The good news is that progress indicators are still a possibility for the future. There's been lots of discussion about adding them to the specification, starting here: microsoft/language-server-protocol#70

Improving load times are an ongoing concern. Gem v0.31.0 already made initialization a little faster, as discussed in #95. Further improvements are still on the roadmap.

@castwide
Copy link
Owner

Extension 0.19.3 includes the spinner from #98. A progress tracker that reports percent complete is still a possibility for a future version.

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

No branches or pull requests

2 participants