vscode-clangd icon indicating copy to clipboard operation
vscode-clangd copied to clipboard

Suggestion: add an option for clangd log file

Open ell1e opened this issue 4 years ago • 3 comments

I couldn't help but struggle to find an option for a clangd log file. It seems like there is only a performance trace which I assume is something different. Since I am supposed to check the clangd log file for config errors, access to this file can be really important. The typescript LSP plugin has a log file setting, but it seems like the clangd LSP plugin right now just doesn't.

ell1e avatar Jan 17 '21 06:01 ell1e

Clangd logs can be seen in VSCode in the Output view (select "clangd" from the dropdown).

HighCommander4 avatar Jan 17 '21 06:01 HighCommander4

Ah, interesting. I'm wondering, maybe logging to a file still could be useful? It would also make it easier to find for confused people like me who didn't find the Output tab for it.

ell1e avatar Jan 17 '21 06:01 ell1e

A side note, if you are using a fairly recent build, config file errors will appear in the errors tab, avoiding the need to check logs

njames93 avatar Jan 17 '21 10:01 njames93