I'm trying WebStorm editor (currently use vim).
And I noticed I cannot tell where the end of the line is, because you can literally move your cursor beyond the end of the line in the code editor.
I find this very frustrating. I use to be able to know for certain where the end of the line was in vi.
Is there a way to force the cursor to go to next line when I reach the end of a line and move to the right?
As WebStorm is based on the IntelliJ IDEA platform, this answer is also valid for WebStorm.
File
| Settings
(or Preferences
on Mac) | Editor
| Allow placement of caret after end of line.
WebStorm 11
By default, the caret is not allowed after the end of the line.
If this check box was already checked, it can be unchecked in 2 different ways:
File > Settings... > Editor > General > uncheck "Allow placement of caret after end of line" (in the Virtual Space section)
Press Ctrl+Shift+A or go to Help > Find Action...:
Type "Allow placement", choose the "Virtual Space: Allow placement of caret after..." line and click on the switch button to have OFF instead of ON. If you cannot see the whole description, you can put the mouse over the line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With