Intellij-idea – How to turn off the unlimited whitespace in IntelliJ editor

cursoreditorintellij-idea

How do I remove the ability to move the cursor after then end of line in IntelliJ?

Best Answer

File menu -> Settings -> Editor -> General -> Virtual Space and uncheck 'Allow placement of caret after end of line' . You may also uncheck the other options in the Virtual Space panel.