Is there a way to center the current row vertically in the Eclipse editor?

I am looking for functionality similar to Ctrl-l in Emacs. For example, if you edit the second line in the window of the visible editor, and you click Ctrl-L, the current line will move to the center of the editor screen.

This works regardless of the end of the file. In most cases, if you create a new file, they will be on the last line, adding more content to the file. Constantly looking at the bottom of the screen, my neck hurts.

+3
source share
1 answer
  • Go to "Window"> "Settings"> "General"> "Keys"
  • Filter the commands to find "Recenter"
  • ( Ctrl + Shift + B)
  • " " "".

: , , "recenter", , , .

+3

Source: https://habr.com/ru/post/1792731/


All Articles