porcupine icon indicating copy to clipboard operation
porcupine copied to clipboard

langserver restart on error

Open Akuli opened this issue 1 year ago • 1 comments

I use clangd with Porcupine when editing C code. It sometimes crashes. To restart it, I need to close all C files and reopen the file I want to edit.

It would be nice if I could configure clangd to start automatically after crashing. In fact, that should probably be the default behavior, with some reasonable rule to prevent it from endlessly restarting the langserver if it crashes immediately every time. For example, we could give up if we have restarted the langserver 5 times within the last minute.

Akuli avatar Mar 10 '23 20:03 Akuli