camel-tooling / camel-language-server

The Apache Camel LSP server implementation
Apache License 2.0
47 stars 25 forks source link

Ignore undocumented protocol messages #226

Open apupier opened 5 years ago

apupier commented 5 years ago

Issue informations

in Eclipse Theia, several traces are set such as:

Apr 10, 2019 11:58:55 AM org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
INFO: Unsupported notification method: $/setTraceNotification

it seems that the language server needs to (either implement) or specify to ignore undocumented protocol messages. See https://github.com/theia-ide/theia/issues/4855#issuecomment-481974955 and https://github.com/Microsoft/vscode-languageserver-node/issues/170

apupier commented 5 years ago

I have a branch with a potential fix but I cannot test it for now https://github.com/apupier/camel-language-server-1/tree/226-ignoreUndocumentedProtocolMessages asked for help on https://github.com/theia-ide/theia/issues/4855#issuecomment-482080778