Feature #3838 2007-11-14 07:34
barking_mad
Folding Feature Modification Request
Modification of the codeblocks folding editor feature such that the folding location is based on the source formatter style chosen.
For example: In CB it is possible to select a source code formatting style (Settings>Editor>Source Formatter).
Depending on which style is chosen, for example the styles (ANSI) or (Java), the curly braces { & } can be found on a new line after a function name:
Func() { //Here
}
Another style (Java) the braces can be found on same line as the function:
Func() { //Here
}
Folded this has the following result:
Func() + //folded node (Result 1)
or
Fun() + //folded node (Result 2)
It would be great if CB would check the source formatting style used and adjust the folding accordingly so that even when using ANSI style the folding collapses right to the function name (as in result 2).
It seems trivial (and is) but if your viewing 30 collapsed functions in ANSI style, it takes up 60 lines, 30 of which are blank only because the folded node is on the new line.
- Category
- Interface
- Status
- Open
- Close date
- Assigned to