emacs-ycmd icon indicating copy to clipboard operation
emacs-ycmd copied to clipboard

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

Open renewagner opened this issue 6 years ago • 0 comments

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.

renewagner avatar Apr 27 '18 19:04 renewagner