Skip to content

clangd prints too much to stdout/stderr #498

@kevin071586

Description

@kevin071586

The default behavior of the LSP Editor prints out too much garbage to the terminal window (stdout/stderr). Example:

I[06:32:02.413] --> textDocument/publishDiagnostics
I[06:32:02.423] --> textDocument/publishDiagnostics
I[06:32:02.431] --> textDocument/publishDiagnostics
I[06:32:02.442] --> textDocument/publishDiagnostics
I[06:32:02.444] --> textDocument/publishDiagnostics
I[06:32:02.445] --> textDocument/publishDiagnostics
I[06:32:02.463] --> textDocument/publishDiagnostics
I[06:32:02.478] --> textDocument/publishDiagnostics
I[06:32:02.480] --> textDocument/publishDiagnostics
I[06:32:02.666] --> window/workDoneProgress/create(0)
I[06:32:02.666] Enqueueing 7161 commands for indexing

This can be reduced by redirecting the output to /dev/null or a file, or similar. Or, there is an option in Preferences->C/C++->Editor->clangd->"Log to Console". This at least sends the output to the console tab within eclipse and is what I'll do by default for now.

Please consider reducing this output by default or providing more flexibility to disable it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions