cquery-project / emacs-cquery

Emacs client for cquery, a low-latency language server supporting multi-million line C++ code-bases
116 stars 14 forks source link

Restarting cquery when it crashes #42

Open romix opened 6 years ago

romix commented 6 years ago

I noticed that sometimes the cquery process would crash and emacs-cquery looses connection to it. When this happens, emacs-cquery becomes unusable.

It would be nice to have a way to restart the cquery and re-establish the connection either manually or automatically.

andrelkin commented 5 years ago

I second. I could not find any other way but to restart emacs.

Also perhaps https://github.com/emacs-lsp/lsp-mode/issues/77 is relevant. Could lsp-mode trigger the server restart when the latter is not present anymore?