It would be possible to minimize orexpand justasnippetofcodeinsidea{...},exampleblock using the eclipse IDE?
Master, good evening.
As I researched, there really is no native functionality for what you want.
Maybe the closest you find it would be something like C # Regions .
As far as I know, our dear Java does not have the same feature. However, I have found an Eclipse IDE plugin that can help. This is the Coffee Bytes , but it is discontinued, so use is on your own and risk.
Source of my research: How to Create a Region in eclipse like Visual Studio
If the US editor is in English the option is: Windows - > Preferences - > Java - > Editor - > Folding
To minimize all code snippets: Ctrl + Shift + /
To expand all code snippets: Ctrl + Shift + *
You can put a scope around what you want to minimize.
{
//AQUI VAI O QUE QUER MINIMIZAR
}
Note that on the left side, near the row count, a button with the "-" will appear for you to minimize.