Hi,
I'm writing to submit a (passible) bug report of the Code Completion plugin (LSP and Clangd).
When I load a project the plugin starts to parse all the project's files. I observe the log of parsing in the Code::Blocks panel of the Logs window. In the meantime I open a file, Application.cpp for example, and I select "Application:" to use the plugin (see image attached)...but...as soon as a new file is parsed the selection disappears....so I can't use the code completion till the full parsing of the projects. As soon as a new file parsing is completed the selection becomes blank.
Is this behavior expected?
Windows 10 , latest nightly , latest Mys2 clang 18.1.3-1
Thanks for the video. It cleared up (in my head) what box you were trying to point out.
That box is called the Clangd_client (or CodeCompletion) toolbar.
It is only active when an editor has been activated. It shows the classes and the functions that the editors cursor is positioned within. I.e., the cursor must have clicked in an
editor at least once (activate) to fill in the choice boxes.
The left hand side (the one you were clicking in) displays the classes in an active editor file, and the right hand choice box shows all functions within the class.
You can cause the editor to position on a class/function by clicking in the left hand choice box to choose the class, then click in the right choice box and choosing what function to position to.
What's happening in your video is that you never activated the editor by clicking into it. So the choice boxes were never populated.
Regards