This function is currently not supported. The simplest solution is to insert a large number of blank lines. However, generally when writing Java, you will not always edit at the end of the file. There is no need to use eclipse when writing other languages.
I guess your usage habits are similar to mine
vi user
Install vrapper plug-in in eclipse
Then zz
The last line scrolls to the middle of the screen
To find out how to install it, google it yourself, or you can search for the plug-in installation in the eclipse market.
This function is currently not supported. The simplest solution is to insert a large number of blank lines. However, generally when writing Java, you will not always edit at the end of the file. There is no need to use eclipse when writing other languages.