Automatically scroll to the start of the line on enter

已回答

Is there a way to make IntelliJ scroll completely to the left when I enter a new line? I don't want IntelliJ only to scroll to my current indention level so that the rest of the lines are still cut off on the left side.

This problem occurs when you type on a long line and IntelliJ scrolls to the right so your carret stays in view. However, when I go back to the start of a line (by creating a new one with enter or by pressing Pos1), I want IntelliJ to restore my original view that is scrolled completely to the left, so that I can see the start of every line.

Is it possible to make IntelliJ scroll compelety to the left whenever you hit Pos1 or create a new line?

0

Hello Jetcommunity. By default, when you're typing a long line and hit  Enter  after that, the Editor scrolls on the left and displays the start of the new line where your caret is. Could you please record a short video showing the issue you met and share it with us? You can do it using the JetBrains Uploads service and write the ID you receive here. 

0

By default, when you're typing a long line and hit  Enter  after that, the Editor scrolls on the left and displays the start of the new line where your caret is.

You are right, it scrolls to the position where my caret is on the new line. But my caret is not at the very start of the line. It is indented by a few tabs or white spaces. This means that all the other lines that are not indented as far as my current line are cut off. It would be much more convenient if the editor really scrolled to the start of the line (and not just to the position of the caret which is indented) so that I can see the beginning of every line on the screen.

0

请先登录再写评论。