Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (4k points)

I want to use regions for code folding in Eclipse; how can that be done in Java?

Example usage in C#:

#region name

//code

#endregion

1 Answer

0 votes
by (46k points)

There's no such standard equivalent present. A few IDEs - Intellij, for example, or Eclipse - can wrap depending on the code patterns involved (constructors, imports etc.), but there's nothing like #region.

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...