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

Inform the user that completions are not possible until parsing is done #467

Open
renewagner opened this issue Apr 27, 2018 · 0 comments
Open

Comments

@renewagner
Copy link

This originally came up in #466. Currently, ycmd will generate an exception RuntimeError: Still parsing file, no completions yet. whenever a semantic completion request is made before the translation unit has been parsed. This is logged in the *ycmd-server* buffer but there is no other indication in the regular Emacs UI that this is the reason why no completions are displayed.

It would be nice if such an indication could be produced by emacs-ycmd. A simple but effective way to handle this might be showing a "Completion not possible until parsing is done. Please try again later." message similarly to how ycmd-parse-buffer prints "Parsing buffer done" now.

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

1 participant