Eclipse: I turned on hidden characters now I can't turn off

前端 未结 15 1602
臣服心动
臣服心动 2020-11-28 09:18

Somehow I\'ve turned on hidden characters in Eclipse. It\'s not the \"whitespace\" characters in the general editor preferences. When turned on, it adds another layer of hid

15条回答
  •  鱼传尺愫
    2020-11-28 09:43

    It is actually in two places...

    Sandkastenliga points out the obvious one, but you can also show white space with a shortcut key combination. The key combination is separate from the text editor preferences and will superimpose additional characters when active (it uses \r and \n for carriage return an line feed respectively instead of the symbols used by the text editor preference.)

    Go to preferences > general > keys and look for the binding for the 'Show Whitespace' command.

    I have the text editor preference turned on, so I removed the binding for this command altogether (it was set to Ctrl+. in my profile) to prevent accidental activation as it doesn't affect the other preference.

提交回复
热议问题