Apple's Xcode has a cool feature for C and ObjC code that lets you label
sections of your code using a "#pragma mark ]]>" directive. I've
attached a screenshot, showing one of the mark lines, while I'm pulling
down the current file members combobox.
I think something like this would be useful for IDEA - it could be used
to separate methods and fields in Structure View, and there could be
hotkeys "jump to section," and the section separators could be
highlighted in some color in the editor to easily differentiate when
What do you guys think? This kind of feature is definitely less useful
for Java code than for languages where a single file has more than one
class, but I think maybe we can think of a cool way to do this, then
file a request in JIRA.