User forums > General (but related to Code::Blocks)

Indent on comment with indent lines afterwards?

<< < (2/2)

BlueHazzard:
You can add

--- Code: ---//{
This can be folded
//}
--- End code ---

to your comments and you will be able to fold this

for example:

--- Code: ---// LOCAL INCLUDES
//{
    #include "..."
//}
// SYSTEM INCLUDES
//{
    #include <...>
//}

--- End code ---

There is now easy way to make this generic... How should a parser know where to start folding and where to stop?

Navigation

[0] Message Index

[*] Previous page

Go to full version