User forums > Nightly builds
The 12 January 2010 build (6080) is out.
critic:
Thanks for CC improvements. Go on in the same way, it's hard, but very useful work :P.
I have some problems :(.
I want automatical insertion of default code in new H and CPP files like in Anjuta IDE and others.
But `Default code` option in editor's preferences page doesn't support such expression:
--- Code: ---//-----------------------------------------------------------
// File: $ACTIVE_EDITOR_STEM).$ACTIVE_EDITOR_EXT)
// Date: $WEEKDAY), $TODAY)
//
// Author: Lastname A.A.
// Email: my@email.org
//-----------------------------------------------------------
--- End code ---
to evaluate it to (for example):
--- Code: ---//-----------------------------------------------------------
// File: header_file.h
// Date: friday, 2010-01-15
//
// Author: Lastname A.A.
// Email: my@email.org
//----------------------------------------------------------
--- End code ---
By the way, some of these items can be stored in project or IDE (the last is better, because only one developer use this copy of IDE):
* author name
* email
* etc
Now I use the following abbreviation, but it doesn't work properly - problem with cursor positioning after insertion:
--- Code: ---//-----------------------------------------------------------
// File: $ACTIVE_EDITOR_STEM).$ACTIVE_EDITOR_EXT)
// Date: $WEEKDAY), $TODAY)
//
// Author: Lastname A.A.
// Email: my@email.org
//-----------------------------------------------------------
|
--- End code ---
Cursor appears in 5 symbols earlier, that is on the delimiter line.
But this variant is not handy - every time I create new file I need insert manually header. I think IDE can do this better.
Later. With regards, Mihail.
MortenMacFly:
--- Quote from: critic on January 15, 2010, 11:03:50 am ---But `Default code` option in editor's preferences page doesn't support such expression:
--- Code: ---// File: $ACTIVE_EDITOR_STEM).$ACTIVE_EDITOR_EXT)
--- End code ---
--- End quote ---
The next nightly will have this implemented. It's committed to SVN trunk.
adfm:
Hey
I have the same problem as binom25. When I upgraded to this build, the editor is very slow. I can't type 4 letters before it hangs for a couple of seconds! But it's not all, all the application is slow and it hangs often for some seconds....
I tried to downgrade it (copied the last build over this one - I know, I know!), but it kept the same behaviour.
Then I installed a fresh copy and upgraded it to this build and the results are the same.
Ideas? Some autocomplete feature of some sort? What kind of parsing is being done as I write in the editor!?
Cheers
MortenMacFly:
--- Quote from: binom25 on January 14, 2010, 09:16:32 pm ---editor works a bit slowly(it hangs) than early version of Codeblocks.
--- End quote ---
That's because of the new CC functionality "parse while typing". This can be configured in the next nightly. For large projects / files this can be turned off then.
adfm:
yep... quite big project here...
I'll wait (eagerly) for the next build .
Thanks for the clarification.
Cheers
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version