Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

code completion breaks after changing header file

<< < (4/5) > >>

Hyena:

--- Quote from: Pecan on May 25, 2025, 02:02:46 am ---Did you use the : "./configure --with-contrib-plugins=all" method or did you compile contribs with one of the config .cbp or .workspace files?

--- End quote ---

I used "./configure --with-contrib-plugins=all" as the BUILD file suggests.

Pecan:
I am not able to re-create the described error.
I believe I have the same environment Monjaro and CodeBlocks build the same as you did.

Do this for me. Right click on the far left log tab named "Code::Blocks" after restarting codeblocks and loading a project.

Right click on the tab, select copy to clipboard paste it in a code tags (the hash mark above a reply block).
I want to compare CB messages with the ones I get.

Hyena:

--- Code: ---Loaded config file '/home/hyena/.config/codeblocks/default.conf' (personality: 'default')
Scanning for lexers in /opt/codeblocks/share/codeblocks/lexers/...
Found 62 lexers
Loading lexer_perl
Loading lexer_hitasm
Loading lexer_ruby
Loading lexer_po
Loading lexer_java
Loading lexer_batch
Loading lexer_cg
Loading lexer_vhdl
Loading lexer_OgreMaterial
Loading lexer_prg
Loading lexer_fortran
Loading lexer_pascal
Loading lexer_xml
Loading lexer_ihex
Loading lexer_glsl
Loading lexer_rc
Loading lexer_html
Loading lexer_OgreCompositor
Loading lexer_nsis
Loading lexer_caml
Loading lexer_A68k
Loading lexer_ada
Loading lexer_lisp
Loading lexer_javascript
Loading lexer_latex
Loading lexer_bibtex
Loading lexer_gm
Loading lexer_properties
Loading lexer_masm
Loading lexer_cpp
Loading lexer_python
Loading lexer_powershell
Loading lexer_yaml
Loading lexer_tehex
Loading lexer_objc
Loading lexer_smalltalk
Loading lexer_haskell
Loading lexer_nim
Loading lexer_vbscript
Loading lexer_lua
Loading lexer_cmake
Loading lexer_inno
Loading lexer_cu
Loading lexer_diff
Loading lexer_make
Loading lexer_autotools
Loading lexer_squirrel
Loading lexer_registry
Loading lexer_verilog
Loading lexer_plain
Loading lexer_angelscript
Loading lexer_postscript
Loading lexer_proto
Loading lexer_bash
Loading lexer_markdown
Loading lexer_d
Loading lexer_css
Loading lexer_srec
Loading lexer_sql
Loading lexer_matlab
Loading lexer_coffee
Loading lexer_f77
Configured 0 tools
Scanning for plugins in /home/hyena/.local/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /opt/codeblocks/lib/codeblocks/plugins
Manager failed to load XRC resource '/opt/codeblocks/share/codeblocks/DisplayEvents.zip'.
Tools Plus Plugin: Registering shell type Piped Process Control
Loaded 59 plugins
Loading:
HelpPlugin
Help plugin ini file: /opt/codeblocks/share/codeblocks/docs/index.ini
SmartIndentXML
cbDragScroll
ReopenEditor
AutoVersioning
wxSmith
wxSmithMime
HeaderFixup
Profiler
HexEditor
ToDoList
Abbreviations
CodeSnippets
CppCheck
cbKeyBinder
wxSmithAui
DisplayEvents
clangd_client
copystrings
EnvVars
Debugger
SmartIndentLua
BYOGames
ThreadSearch
Compiler
BrowseTracker
ClassWizard
OpenFilesList
wxSmithContribItems
RegExTestbed
IncrementalSearch
ProjectsImporter
Cccc
Valgrind
FilesExtensionHandler
SpellChecker
Loading image: '/usr/share/codeblocks/SpellChecker/svg/disabled.svg' failed!
ProjectOptionsManipulator
Exporter
CB_Koders
SmartIndentPython
EditorTweaks
CodeStat
DoxyBlocks
AStylePlugin
SmartIndentHDL
Autosave
ScriptedWizard
OccurrencesHighlighting
SmartIndentFortran
EditorConfig
SmartIndentPascal
SmartIndentCpp
ToolsPlus
NassiShneidermanPlugin
Initial scaling factor is 1.000 (actual: 1.000)
Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
Opening /home/hyena/Desktop/temp/testcpp/testcpp/testcpp.cbp
Done.
SpellChecker: Thesaurus files '/usr/share/codeblocks/SpellChecker/th_en_US.idx' not found!
ClangdClient: allocating ProxyProject (phase 1).
Opening /home/hyena/.config/codeblocks/CC_ProxyProject.cbp
Done.
ClangdClient: loading ProxyProject (phase 2.
Opening /home/hyena/.config/codeblocks/CC_ProxyProject.cbp
Done.

--- End code ---

Pecan:
As it turns out, a timeout wxMutex on Manjaro always returns wxMUTEX_MISC_ERROR.

I'm having to change all wxMutex.LockTimeout()s to std::timed_mutex(s) which do work on Manjaro.

This means that any code that was protected by a timed wxMutex never executes.

8>{

Pecan:
@Hyena

Have a look at:
https://github.com/pecanh/Clangd_client/blob/main

And read https://github.com/pecanh/Clangd_client/blob/main/HowToInstall.txt

I updated Clangd_client to accommodate the Manjaro wxMutex problem and tested the install instructions twice.

See if they work for you and let me know of any errors.

Thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version