Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Code completion using LSP and clangd

<< < (82/92) > >>

kakas:
I should be the one thanking you for this amazing plugin ;D


--- Quote from: Pecan on April 10, 2024, 05:43:01 pm ---In the coming Nightly, you will also be able to Alt-LeftMouseClick on the red/green warning/error box in the margin to apply any suggested fix.

--- End quote ---
Hmmm... I might have to keep an eye out for nightly build after this.

MaxGaspa:
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

Pecan:

--- Quote from: MaxGaspa on April 16, 2024, 12:02:56 pm ---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

--- End quote ---

Would you please give steps to re-create and trace the problem, i.e.,
1) do this
2) now do that

MaxGaspa:

--- Quote from: Pecan on April 16, 2024, 06:37:58 pm ---
Would you please give steps to re-create and trace the problem, i.e.,
1) do this
2) now do that

--- End quote ---

1) open a project with multiple source file, so the whole parsing process takes time (more than few seconds)
2) During the parsing process open a source file
3) Select in the box (shown in the attached e-mail) a choice
4) When the parsing of a file is completed the box is cleared (made empty).

In case I can make a video....

Max

MaxGaspa:
Video linked from my google drive

https://drive.google.com/file/d/1AkwcYDVfGzkcidiqIOcD7T3ZZU4wHxom/view?usp=drive_link

Hope this helps

Max

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version