Back
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
#region name
//code
#endregion
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.
31k questions
32.8k answers
501 comments
693 users