Bug #12014 2007-09-17 14:15

christobal

CodeCompletion doesn't start on Code::Blocks startup

Happens with: CB SVN 4451 - 4475 Nightly build + wxmsw28u_gcc_cb.dll

Details:

The codecompletion doestn't start after codeblocks has started and loaded the last project. The symbol browser doesn't show any symbols.

After a manual "reparse now" everything is working fine.

This "bug" was introduced in revision 4451 when configuration options for lexer keywords where added.

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2007-09-19 19:19
Assigned to
biplab
christobal 2007-09-17 20:20

This is the same report as Bug #012012. I haven't noticed the ohter post while I tried to locate the revision.

christobal 2007-09-19 06:36

Correction:

It wasn't revision 4451, but 4452 when codecompletion doesn't start parsing at application startup.

I think I figured it out now:

The cbEVT_APP_STARTUP_DONE event wasn't processed when a startup script is installed.

biplab 2007-09-19 19:19

This bug is now fixed in HEAD.

Thank you for reporting it.

christobal 2007-09-20 09:37

It still doesn't start parsing with revision 4483 on windows.

I use mingw compiler version 3.4.5 (mingw special) and wxWidgets dll wx2.8.4(Windows, unicode).

This is what I have done:

- Add CodeBlocks project to default workspace.

- Close CodeBlocks

- Open CodeBlocks

(Debug Log says:

[11:31:49.795]: Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds).)

- Open File main.cpp

- right mouseclick on Manager::Get()

- select "Find declaration of 'Get'"

- look at Warning ;-)

- start Reparsing

(Debug Log output:

[11:35:09.013]: Updating class browser...

[11:35:09.013]: Class browser updated.

[11:35:09.013]: Add project Code::Blocks in parsing queue

[11:35:09.154]: Caching internal gcc dirs for adding to parser...

[11:35:09.279]: Passing list of files to parse

[11:35:09.904]: Starting batch parsing

[11:35:10.341]: C++ Parser is still parsing files...

[11:35:28.357]: Parsing stage done (1351 total parsed files, 74572 tokens in 0 minute(s), 17.469 seconds).

[11:35:28.373]: Updating class browser...

[11:35:28.373]: Class browser updated.

- codecompletion is now up and running...