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)

8 comments
Comment actions Permalink

How to make the sections open in collapsed manner always?

0
Comment actions Permalink

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.

0
Comment actions Permalink

I mean any time i switch to a class it always  opens up in collapsed manner

0
Comment actions Permalink

Please refer to the help page linked above.

0

Please sign in to leave a comment.