marc-dll opened a new issue, #6297: URL: https://github.com/apache/netbeans/issues/6297
### Apache NetBeans version Apache NetBeans 18 ### What happened I tried setting up Netbeans as an LSP client of `clangd`. After much trial and error from my part, I could configure a correctly formed `compile_commands.json` file to give to `clangd`. In this state, I get the wanted feedback at first when introducing a parse error (code underlined in red at the error location + message in the statebar), but those reports stop for the subsequent errors. Code completion fails to finish, and trying to reformat the code (`"Source" > "Format"` or `Alt+Shift+F`) freezes the editor. At first, I tried to analyze logs to see what's what, but nothing reported was coming from this part of NetBeans. I then saw how to turn logging up for specific loggers, thus passing the argument `-J-Dorg.netbeans.modules.cpplite.editor.lsp.LanguageServerImpl.level=100` to target the specific logger of class [`org.netbeans.modules.cpplite.editor.lsp.LanguageServerImpl`](https://github.com/apache/netbeans/blob/master/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/lsp/LanguageServerImpl.java) And to my surprise, this made everything work as expected. ### How to reproduce _No response_ ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows 10 Home (build 19045.3208) ### JDK Java; VM; Vendor = 19.0.2; OpenJDK 64-Bit Server VM 19.0.2+7-44; Oracle Corporation ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else clangd version 13.0.1 I did not try to reproduce on Linux yet. ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
