abingham/emacs-ycmd

Indicate parsing progress

Closed this issue · 4 comments

Is there any way to indicate progress in parsing the file? At least in spacemacs, something in the powerline would be ideal.

ptrv commented

There is already an indication for parsing in progress. A small star next to the ycmd mode name in the mode-line.

There are different ycmd states showing in the mode-line. Like parsing, error, unparsed and server stopped.

See: https://github.com/abingham/emacs-ycmd/blob/master/ycmd.el#L659

I see. Could it be made more obvious (some form of coloured indicator, rather than a small star)?

ptrv commented

IMHO it is pretty obvious.

I am not sure whether you can have a different color for single characters in the mode-line.

You could develop an external addon package for emacs-ycmd like the flycheck-color-mode-line addon package for flycheck.

ptrv commented

Closing because it's out of scope for this package but could be added to the contrib folder in this repo.