Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
Development / Re: code completion breaks after changing header file
« Last post by Pecan on May 23, 2025, 07:16:07 am »
@ Hyena

Please start your CodeBlocks with the /d parameter so that it shows the
Codeblocks debug tab.

Load the project giving you the problem, then after the problem occurs, right click on the "Code::Blocks debug" tab and chose "copy to contents to clipboard".

Paste that into a txt file, zip it up and append it to a message to us so we can try to get a clearer picture of the problem.

 
62
Development / Re: code completion breaks after changing header file
« Last post by Hyena on May 22, 2025, 08:52:49 pm »
everything seems fine here. when I start the project it initially says in the bottom right corner that parsing is paused. then I toggle it by right clicking on the project name, but still autocomplete doesn't work.
63
Development / Re: code completion breaks after changing header file
« Last post by Pecan on May 22, 2025, 07:56:21 pm »
@Hyena

This usually happens when the wrong clangd.exe is being used.
Please look at MainMenu/settings/editor/clangd_client/tab C/C++ parser and telll us the path of the clangd that you are using.

64
Development / Re: code completion breaks after changing header file
« Last post by Hyena on May 22, 2025, 04:21:46 pm »
I disabled the legacy and enabled the clang one but the clang didn't work at all. Also another thing I noticed was that anonymous structs seem to be confusing the code completion. In the added screenshots only one "capacity" should appear, but instead I get multiple because other sub structures have the same variable.

65
Development / Re: code completion breaks after changing header file
« Last post by Hyena on May 22, 2025, 04:12:46 pm »
I haven't changed that, so probably this is the legacy one indeed.
66
Development / Re: code completion breaks after changing header file
« Last post by Miguel Gimenez on May 22, 2025, 04:03:16 pm »
Are you using the legacy code completion plugin (default) or the new Clangd_client plugin?
67
Development / code completion breaks after changing header file
« Last post by Hyena on May 22, 2025, 03:21:48 pm »
When I change a structure declaration in one of the header files, then afterwards in the C source files the code will no longer be able to complete anything. A note appears saying that parser is still parsing the files, but it never completes. The only way to fix it is by restarting codeblocks. This happens even if the change to the header file does not functionally change anything (just by adding a space to the end of an empty line and saving the header file will break code completion). The problem is with both the 20.03 and the SVN versions of codeblocks.
68
Using Code::Blocks / Re: Lexer for C only?
« Last post by Hyena on May 22, 2025, 02:12:00 pm »
I am having the same problem. There is no such language as C/C++. Where is a proper C lexer?
69
Plugins development / Plugin 'FileManager' and 'r13665'
« Last post by LETARTARE on May 21, 2025, 03:49:22 pm »
During the compilation under 'Win-7, Gcc-14.2' received a warning [-Woverloaded-virtual]. I dropped a ticket with a correction : https://sourceforge.net/p/codeblocks/tickets/1533/
70
Plugins development / Re: ThreadSearch : documentation + others
« Last post by LETARTARE on May 21, 2025, 11:40:40 am »
Thank you for the correction in 'r-13665'.
Pages: 1 2 3 4 5 6 [7] 8 9 10