Collapsing arbitrary sections of code
I'm working on refactoring an ugly piece of SQL code (6000+ lines). Is there anyway to mark sections of code (say via #pragma) so that IntelliJ will let me temporarily collapse them the way it does say, Java imports? I'd love to be able to at least take the 4500+ lines of declarations (mostly error handlers) and sweep them away so I have a more manageable amount of code to wade through.
请先登录再写评论。
Hello David,
You can select an arbitrary block of text and fold it using View / Folding
/ Fold Selection action (Ctrl-period keyboard shortcut).
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"