Intellij show provide marker to mark sections(say using comment symbols) inside a class, so as to make sections inside a class collapsible and visible(distinctively).
Answered
Intellij show provide marker to mark sections(say using comment symbols) inside a class, so as to make sections inside a class collapsible and visible(distinctively).
Main feature:
-each section will be collapsible
-each section can be named
-anything can be put in any of the section(variables, functions etc)
Behaviour-
It is for bigger classes with thousands of lines of code so as read them.
It wont be related to coding language, it will just collapse and expand section(which will be defined by user; just the User Interface is given by Intellij)
Please sign in to leave a comment.
https://blog.jetbrains.com/idea/2012/03/custom-code-folding-regions-in-intellij-idea-111/
Get An Idea!
https://www.jetbrains.com/help/idea/2016.2/code-folding.html#using_folding_comments
How to make the sections open in collapsed manner always?
https://www.jetbrains.com/help/idea/2016.2/code-folding-2.html
Collapse by default Select the code fragments which should be folded by default, that is, when a file is first opened in the editor.
I mean any time i switch to a class it always opens up in collapsed manner
Please refer to the help page linked above.
ok thanks