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, 06:47:11 pm »
I'm guessing that one of those enabled plugins is not passing events along to other plugins because Clangd_client isn't even starting up or initializing.

The log also shows that Clangd_client AND Codecompletion plugins are being loaded. That should not happen.

Please disable all plugins marked with a 'd' in the following list, run codeblocks again, and attach the resulting log again.

Thanks.

Code
	HelpPlugin: loaded
SmartIndentXML: loaded
d rndgen: loaded
cbDragScroll: loaded
ReopenEditor: loaded
d MouseSap: loaded
d CodeCompletion: loaded
d Cscope: loaded
d SymTab: loaded
d lib_finder: loaded
AutoVersioning: loaded
wxSmith: loaded
wxSmithMime: loaded
d HeaderFixup: loaded
d Profiler: loaded
d HexEditor: loaded
ToDoList: loaded
Abbreviations: loaded
d CodeSnippets: loaded
d CppCheck: loaded
cbKeyBinder: loaded
wxSmithAui: loaded
d DisplayEvents: loaded
clangd_client: loaded
d copystrings: loaded
d EnvVars: loaded
Debugger: loaded
d SmartIndentLua: loaded
d BYOGames: loaded
ThreadSearch: loaded
Compiler: loaded
BrowseTracker: loaded
ClassWizard: loaded
OpenFilesList: loaded
d wxSmithContribItems: loaded
d RegExTestbed: loaded
IncrementalSearch: loaded
ProjectsImporter: loaded
d Cccc: loaded
d Valgrind: loaded
FilesExtensionHandler: loaded
d SpellChecker: loaded
d ProjectOptionsManipulator: loaded
d Exporter: loaded
d CB_Koders: loaded
d SmartIndentPython: loaded
d EditorTweaks: loaded
d CodeStat: loaded
DoxyBlocks: loaded
AStylePlugin: loaded
d SmartIndentHDL: loaded
Autosave: loaded
ScriptedWizard: loaded
OccurrencesHighlighting: loaded
d SmartIndentFortran: loaded
EditorConfig: loaded
SmartIndentPascal: loaded
SmartIndentCpp: loaded
ToolsPlus: loaded
NassiShneidermanPlugin: loaded

62
General (but related to Code::Blocks) / C::B color theme for KDevelop
« Last post by Hyena on May 23, 2025, 05:24:52 pm »
I recently installed the KDevelop IDE for the first time. Its project file architecture is just asinine but in other aspects I find it an excellent substitute for the Code::Blocks IDE. However, it was seriously lacking in its default selection of color themes. None of the provided themes were any good for my taste. To resolve this problem I converted the C::B color theme into the KDevelop format. The resulting theme file could be imported to KDevelop. I am hosting it here: https://github.com/1Hyena/kdevelop-theme

Attached is the screenshot of how the C::B theme looks like in KDevelop.
63
Development / Re: code completion breaks after changing header file
« Last post by Hyena on May 23, 2025, 11:31:38 am »
unfortunately I wasn't able to locate the "code::blocks debug" tab anywhere. I did attach the console output of it though.
64
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.

 
65
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.
66
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.

67
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.

68
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.
69
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?
70
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.
Pages: 1 2 3 4 5 6 [7] 8 9 10