0

In Visual Studio I remember using some sort of syntax to encapsulate code and be able to toggle it open and close to view.

Is there something similar in Eclipse? (JAVA)

strider
  • 2,157
  • 5
  • 30
  • 38
KRB
  • 4,875
  • 17
  • 42
  • 54

2 Answers2

1

Did you mean code fold ?

enter image description here

jmj
  • 237,923
  • 42
  • 401
  • 438
0

Java doesn't have regions, unlike C#. So there is no user-defined means to define regions that you can collapse.

C. K. Young
  • 219,335
  • 46
  • 382
  • 435