How to create a region in eclipse like Visual Studio
Commented on a comment.
Eclipse has a code summary. You can find it in Window-> Preferences, then find "folding". But it just wraps methods / functions / comments, etc.
There is a plugin that was used to work in Eclipse 4.2 called Coffee Bytes , but it is no longer supported. Therefore, use is at your own risk.
Lots of "buts", I know;).
source to share
check it out There is no way to do this in eclipse. The eclipse idea does not provide a region path from areas of code like visual studio, I came from visual studio to outshine and this is the problem I had.
source to share
well, just like you did 4 years ago, I was looking for a way to do the same. but if still relevant, I have a way to do it without using a third party implementation in your Eclipse.
It looks like this: it starts off like Kalon mentioning: Window --- -> Preferences --- -> Java --- -> Editor --- -> Folding and mark √ on all the checkboxes, as you can see here:
Preferences Window in Eclipse After all these settings, apply and close the Preferences window as well as the Eclipse program.
then restart your computer.
log back into Eclipse: and this is how you can use comment folding:
- / * * * * /
I am attaching another image so you can see how this is done in Eclipse:
By the way, you don't need to use the word region ... I added it just to explicitly
source to share