Hi,
I'm just wondering whether code completion will ever be able to work with wxwidgets, and the includes from mingw, or whether it is too difficult to implement.
Thanks
Quote from: mrpringle on August 18, 2006, 02:41:46 AM
I'm just wondering whether code completion will ever be able to work with wxwidgets, [...]
Well, it does already, see here:
(http://img219.imageshack.us/img219/2861/wxwidgetsccaj6.png) (http://imageshack.us)
What version (OS, C::B, wxWidets) are you using? (Please always include this information in your posts!)
With regards, Morten.
Quote from: mrpringle on August 18, 2006, 02:41:46 AM
Hi,
I'm just wondering whether code completion will ever be able to work with wxwidgets, and the includes from mingw, or whether it is too difficult to implement.
Thanks
Have you enabled parsing of all include dirs?
Go to "Settings->Editor->Code-completion & symbols browser", switch to the "Parser" tab and make sure you have checked all three options.
i think we need hotkeys for "local" and "global" mode in order to switch fast without usage of the Settings dialogs (horror)
Quote from: tiwag on August 18, 2006, 09:07:14 AM
i think we need hotkeys for "local" and "global" mode in order to switch fast without usage of the Settings dialogs (horror)
I don't think so. It's a setting that you set and never touch it again.
Either you want full symbols parsing (happy with code-completion) or local symbols only (not so happy ;)).
Anyway, we 're going to change the defaults to "enabled" for all three settings.
The defaults are the way they are because, back then, the parser didn't even run in a thread. Globals parsing was a big slowdown at the time. That's not the case anymore though ;).
Quote from: mandrav on August 18, 2006, 10:20:36 AM
Anyway, we 're going to change the defaults to "enabled" for all three settings.
The defaults are the way they are because, back then, the parser didn't even run in a thread. Globals parsing was a big slowdown at the time. That's not the case anymore though ;).
Now we'll hear a lot of people saying "hey, CodeCompletion works, for the first time!" :lol:
Quote from: Takeshi Miya on August 18, 2006, 10:33:21 AM
Now we'll hear a lot of people saying "hey, CodeCompletion works, for the first time!" :lol:
That's exactly the point for changing the defaults, Takeshi :)
Quote from: mandrav on August 18, 2006, 10:41:38 AM
Quote from: Takeshi Miya on August 18, 2006, 10:33:21 AM
Now we'll hear a lot of people saying "hey, CodeCompletion works, for the first time!" :lol:
That's exactly the point for changing the defaults, Takeshi :)
Just J/K. :mrgreen:
Done: default options changed for everyone.
Quote from: mandrav on August 18, 2006, 11:03:58 AM
Done: default options changed for everyone.
Another (big) question : does it work for local variables ?
For example, I have this code :
bool Database_Impl::ReplaceObject(GatoCad::DbObject& Old, GatoCad::DbObject& New)
{
// first checks if old object belongs to the given database
if(Old. <--- Here should pop-up with members of Old variable
In my build it doesn't pop up. Do I miss something ?
Ciao
Max
Quote from: mdelfede on August 18, 2006, 11:09:57 AM
Another (big) question : does it work for local variables ?
Read this reply (http://forums.next.codeblocks.org/index.php?topic=3841.msg30379;topicseen#msg30379) I posted in another topic...
Quote from: mandrav on August 18, 2006, 11:21:52 AM
Quote from: mdelfede on August 18, 2006, 11:09:57 AM
Another (big) question : does it work for local variables ?
Read this reply (http://forums.next.codeblocks.org/index.php?topic=3841.msg30379;topicseen#msg30379) I posted in another topic...
Ok, if I've well understood, the local stuff is on the way... Am I right ?
Anyway it's really impressive for now.
If I can drop a little suggestion, one interesting thing would be the ability to exclude specfied headers from parsing.
There are some headers (in Boost:: in particular) that are filled with about useless stuffs with regard to code completion.
Ciao
Max
here's from the 18th of august build, with default options, wxWidgets 2.6.3
I also did a clean install of codeblocks
[attachment deleted by admin]
Hi,
In nightly build (Aug 20), "Edit->Show call tip (SHIFT+CTRL+SPACE)" does not work.