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

Code completion using LSP and clangd

<< < (78/85) > >>

Pecan:

--- Quote from: christo on March 24, 2024, 11:58:39 am ---Thanks Pecan.

I face another issue now - regarding errors with fixes in different line, like errors due to missing includes,  fix is not applied. It shows "No available fixes found" on applying. In Parser::OnRequestCodeActionApply() , there is a check if the fix is in same line that of the line causing the error. This might be causing the issue.

--- End quote ---

Fixed Head rev. 13494
Thanks for the reports.

christo:

--- Quote from: Pecan on March 26, 2024, 02:01:45 am ---Fixed Head rev. 13494
Thanks for the reports.

--- End quote ---
It works now, thank you Pecan for the quick response as always.

tomay3000:
- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.

What is going wrong ?

OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2

Pecan:

--- Quote from: tomay3000 on April 04, 2024, 03:48:27 pm ---- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.

What is going wrong ?

OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2

--- End quote ---

Not enough info.
Can you give us a simple example (code) to recreate the problem?
What steps can we perform to recreate the problem?

tomay3000:

--- Quote from: Pecan on April 04, 2024, 06:09:29 pm ---
--- Quote from: tomay3000 on April 04, 2024, 03:48:27 pm ---- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.

What is going wrong ?

OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2

--- End quote ---

Not enough info.
Can you give us a simple example (code) to recreate the problem?
What steps can we perform to recreate the problem?

--- End quote ---

Here is my C::B project
Note that if I revert to using Code Completion back, then "Find declaration of: ..." starts working as expected.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version