Author Topic: Code completion using LSP and clangd  (Read 170875 times)

Offline kakas

  • Multiple posting newcomer
  • *
  • Posts: 19
  • potatoes are tasty(not the raw ones)
Re: Code completion using LSP and clangd
« Reply #405 on: April 10, 2024, 11:23:55 pm »
I should be the one thanking you for this amazing plugin ;D

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.
Hmmm... I might have to keep an eye out for nightly build after this.

Offline MaxGaspa

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: Code completion using LSP and clangd
« Reply #406 on: Today at 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