Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Re: Completion suddenly stopped working
« Last post by stahta01 on Today at 11:33:22 pm »
Do you have g++ installed?
You built using gcc. On Linux you can only install gcc sometimes.

Tim S.

 
2
Plugins development / Re: BrowseTracker dialog is not closing
« Last post by Pecan on Today at 09:56:53 pm »
Fixed rev12470. Shamelessly gloaming the editor managers wxSwitcher.
 
3
Thank you for your work..

and i agree on some tickets and will work the list on closing some.
4
Help / Re: Completion suddenly stopped working
« Last post by questionderby on Today at 08:49:27 pm »
I've made quite a simple file:

Code
cat hi.c
#include <stdio.h>

main()
{
printf("Hello!\n");
}

Code
gcc hi.c
hi.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~

Code
./a.out 
Hello!

Doesn't look like anything is wrong...
5
Help / Re: Completion suddenly stopped working
« Last post by questionderby on Today at 08:46:45 pm »
And, this raises concern to me, also. But, I think it is not related to you Code Completion issue.
Code
Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8).

Tim S.

For some reason I see that on every Linux OS I used for now(Arch, Void, Ubuntu etc.)
6
Help / Re: Completion suddenly stopped working
« Last post by stahta01 on Today at 08:46:19 pm »
I don't even have anything other than GCC, so no

Build and run a simple hello world project to verify GCC is working.

Tim S.
7
Help / Re: Completion suddenly stopped working
« Last post by questionderby on Today at 08:41:36 pm »
I don't even have anything other than GCC, so no
8
Help / Re: Completion suddenly stopped working
« Last post by stahta01 on Today at 08:40:16 pm »
Why do you think these are not important?
Are you using a non GCC compiler?

Code
NativeParser::SafeExecute: Invalid application command: g++
NativeParser::SafeExecute: Invalid application command: g++
NativeParser::DoFullParsing: AddCompilerPredefinedMacros failed!

And, this raises concern to me, also. But, I think it is not related to you Code Completion issue.
Code
Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8).

Tim S.
9
Help / Re: Completion suddenly stopped working
« Last post by questionderby on Today at 08:22:02 pm »
Okay I'm getting completions for #include, #define, and other preprocessors now, but that's about it.... The rest is not there.

I checked Plugins -> Manage Plugins... and saw "Code Completion" there, Version 1.0 Enabled: Yes, filename: libcodecompletion.so

I'll launch C::B with the said flag now and report back.

Edit: I launched codeblocks with --debug-log and looked at the messages on the terminal... I don't see much here

Code
 Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8).
Starting Code::Blocks Release 20.03  rev 11997 Apr  7 2020, 16:13:30 - wx3.0.4 - gcc 9.3.0 (Linux, unicode) - 64 bit
Manager initialized

(codeblocks:12662): Gtk-CRITICAL **: : gtk_tree_model_iter_nth_child: assertion 'n >= 0' failed

(codeblocks:12662): Gtk-CRITICAL **: : gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(codeblocks:12662): Gtk-WARNING **: : Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(codeblocks:12662): Gtk-WARNING **: : Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(codeblocks:12662): dconf-CRITICAL **: : unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.

(codeblocks:12662): dconf-CRITICAL **: : unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.

(codeblocks:12662): Gtk-CRITICAL **: : gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(codeblocks:12662): Gtk-CRITICAL **:: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(codeblocks:12662): Gtk-CRITICAL **: : gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(codeblocks:12662): Gtk-CRITICAL **: : gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar


I looked at the Code::Blocks Debug section at Logs&others and...

Code
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
CodeStat: loaded
SmartIndentXML: loaded
OpenFilesList: loaded
HelpPlugin: loaded
ToolsPlus: loaded
lib_finder: loaded
IncrementalSearch: loaded
Exporter: loaded
ToDoList: loaded
HeaderFixup: loaded
HexEditor: loaded
AutoVersioning: loaded
Abbreviations: loaded
BrowseTracker: loaded
rndgen: loaded
FileManager: loaded
SymTab: loaded
EnvVars: loaded
wxSmithContribItems: loaded
CppCheck: loaded
NassiShneidermanPlugin: loaded
ReopenEditor: loaded
Valgrind: loaded
RegExTestbed: loaded
CodeCompletion: loaded
MouseSap: loaded
SmartIndentPython: loaded
copystrings: loaded
Compiler: loaded
OccurrencesHighlighting: loaded
DoxyBlocks: loaded
CodeSnippets: loaded
SmartIndentHDL: loaded
wxSmith: loaded
wxSmithMime: loaded
SmartIndentLua: loaded
cbDragScroll: loaded
SmartIndentFortran: loaded
BYOGames: loaded
Profiler: loaded
ProjectOptionsManipulator: loaded
SmartIndentCpp: loaded
Debugger: loaded
Cccc: loaded
ThreadSearch: loaded
SpellChecker: loaded
ProjectsImporter: loaded
EditorConfig: loaded
CB_Koders: loaded
EditorTweaks: loaded
Autosave: loaded
Cscope: loaded
AStylePlugin: loaded
cbKeyBinder: loaded
ClassWizard: loaded
wxSmithAui: loaded
FilesExtensionHandler: loaded
SmartIndentPascal: loaded
ScriptedWizard: loaded
Code statistics plugin activated
SmartIndentXML plugin activated
Open files list plugin activated
Help plugin plugin activated
ToolsPlus plugin activated
Library finder plugin activated
IncrementalSearch plugin activated
Source Exporter plugin activated
Todo List plugin activated
Header Fixup plugin activated
HexEditor plugin activated
AutoVersioning plugin activated
Abbreviations plugin activated
BrowseTracker plugin activated
rndgen plugin activated
FileManager plugin activated
Symbol Table Plugin plugin activated
Environment variables plugin activated
wxSmith - Contrib Items plugin activated
CppCheck plugin activated
NassiShneidermanPlugin plugin activated
ReopenEditor plugin activated
Valgrind plugin activated
Regular expressions testbed plugin activated
Code completion plugin activated
MouseSap plugin activated
SmartIndentPython plugin activated
Copy Strings to clipboard plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
Added compiler "GNU Fortran Compiler"
Added compiler "G95 Fortran Compiler"
Added compiler "GNU GCC Compiler for ARM"
Added compiler "GNU GCC Compiler for Android"
Added compiler "LLVM Clang Compiler"
Added compiler "GNU GCC Compiler for ZPU"
Added compiler "Small Device C Compiler"
Added compiler "GNU GCC Compiler for Blackfin"
Added compiler "Digital Mars D Compiler"
Added compiler "PGI Fortran Compiler"
Added compiler "GNU GCC Compiler for MSP430 (HighTec)"
Added compiler "GNU GCC Compiler for LM32"
Added compiler "LLVM D Compiler"
Added compiler "GNU GCC Compiler for AVR"
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
Added compiler "GNU GCC Compiler for LM8"
Added compiler "GNU GCC Compiler for PowerPC (HighTec)"
Added compiler "Tiny C Compiler"
Added compiler "*No Compiler*"
Added compiler "GNU GCC Compiler for PowerPC EABI"
Master path of compiler ID "gcc" is empty -> triggers auto-detection.
Compiler plugin activated
OccurrencesHighlighting plugin activated
DoxyBlocks plugin activated
Code snippets plugin activated
SmartIndentHDL plugin activated
wxSmith plugin activated
wxSmith - MIME plugin plugin activated
SmartIndentLua plugin activated
DragScroll plugin activated
SmartIndentFortran plugin activated
BYO Games plugin activated
Code profiler plugin activated
Project options manipulator plugin activated
SmartIndentCpp plugin activated
Debugger plugin activated
Cccc plugin activated
ThreadSearch plugin activated
Loading image: '/usr/share/codeblocks/SpellChecker/16x16/disabled.png' succeeded!
SpellChecker plugin activated
Foreign projects importer plugin activated
EditorConfig plugin for Code::Blocks plugin activated
Koders query plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
Autosave plugin activated
Cscope plugin activated
Source code formatter (AStyle) plugin activated
Keyboard shortcuts plugin activated
Class wizard plugin activated
wxSmith - Aui plugin activated
Files extension handler plugin activated
SmartIndentPascal plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Java application'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenCV project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'QT4 (shared) project'
Project wizard added for 'QT5 project'
Project wizard added for 'SDL project'
Project wizard added for 'SDL2 project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'Arduino Project'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'MSP430 Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'D source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
File(s) wizard added for 'Java source'
Scripted wizard plugin activated
Loading toolbar...
Initializing plugins...
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 43)
Editor Open
NativeParser::SafeExecute: Invalid application command: g++
NativeParser::SafeExecute: Invalid application command: g++
NativeParser::DoFullParsing: AddCompilerPredefinedMacros failed!
NativeParser::DoFullParsing: Adding cpp/c files to batch-parser
NativeParser::CreateParser: Finish creating a new parser for project '*NONE*'
NativeParser::OnParserStart: Starting batch parsing for project '*NONE*'...
SystemHeadersThread: Start traversing: /home/user1/C/
SystemHeadersThread: Traversing /home/user1/C/ finished, found 2 headers; time: 0.000 sec
SystemHeadersThread: Total number of paths: 1
NativeParser::OnParserEnd: Project '*NONE*' parsing stage done!
Project '*NONE*' parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.060 seconds).
Reparsing when typing for editor /home/user1/C/t.c
NativeParser::OnParserStart: Starting re-parsing for project '*NONE*'...
Project '*NONE*' parsing stage done (1 total parsed files, 0 tokens in 0 minute(s), 0.000 seconds).
Reparsing when typing for editor /home/user1/C/t.c
NativeParser::OnParserStart: Starting re-parsing for project '*NONE*'...
Project '*NONE*' parsing stage done (1 total parsed files, 0 tokens in 0 minute(s), 0.000 seconds).
Reparsing when typing for editor /home/user1/C/t.c
NativeParser::OnParserStart: Starting re-parsing for project '*NONE*'...
Project '*NONE*' parsing stage done (1 total parsed files, 1 tokens in 0 minute(s), 0.006 seconds).
Reparsing when typing for editor /home/user1/C/t.c
NativeParser::OnParserStart: Starting re-parsing for project '*NONE*'...
Project '*NONE*' parsing stage done (1 total parsed files, 1 tokens in 0 minute(s), 0.000 seconds).
Reparsing when typing for editor /home/user1/C/t.c
NativeParser::OnParserStart: Starting re-parsing for project '*NONE*'...
Project '*NONE*' parsing stage done (1 total parsed files, 1 tokens in 0 minute(s), 0.000 seconds).

I still don't get why code completion disappeared suddenly

I checked Settings -> Editor -> General and saw "Code Completion" checked there, and I don't know what to look for exactly in Settings -> Editor -> Code Completion
10
Development / Re: Plugin compilation errors after r12467
« Last post by Miguel Gimenez on Today at 02:51:06 pm »
Looks like yours is the duplicate...
Pages: [1] 2 3 4 5 6 ... 10