In Eclipse what can I use to encapsulate a block of code that I can toggle to view or not?
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 th开发者_Python百科ere something similar in Eclipse? (JAVA)
Did you mean code fold ?
Java doesn't have regions, unlike C#. So there is no user-defined means to define regions that you can collapse.
精彩评论