Turn off unlimited trailing whitespace in IntelliJ IDEA
By default, IntelliJ IDEA allows you to click any where on the editor and type. Some users find it annoying. If you are new to IntelliJ, you may find it a bit difficult to change the setting. This is available in the Virtual Space section of Editor Settings in IDEA preferences.
Turn it of by going to File menu -> Settings -> Editor -> Virtual Space and uncheck ‘Allow placement of caret after end of line’.
Peace of mind.
Here is a bonus video of how it is done.
Author: Deepu Mohan Puthrote
Link: https://deepumohan.com/tech/turn-off-unlimited-trailing-space-in-intellij-idea/
This work by Deepu Mohan Puthrote is licensed under a Creative Commons Attribution 4.0 International License