How do I turn off the unlimited whitespace in IntelliJ editor?

后端 未结 6 1431
暖寄归人
暖寄归人 2021-01-29 17:34

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

6条回答
  •  我在风中等你
    2021-01-29 17:56

    To get the expected behavior where indentations are respected when you click on a line :

    In Preferences > Editor > Virtual Space

    Check :

    Allow placement of caret inside tabs.

    Uncheck :

    Allow placement of caret after end of line.

    This was really annoying to me and makes very little sense as a default behavior to me.

提交回复
热议问题