0 votes
1 view
in Java by (4.1k 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 (46.1k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...