Can NetBeans remove trailing whitespace and change tabs to spaces on save?

后端 未结 5 2164
渐次进展
渐次进展 2021-02-01 00:49

I just started to use NetBeans, and am trying to work out how to:

  1. Make it so that trailing whitespace is removed on save. I know that you can invoke it manually

5条回答
  •  旧巷少年郎
    2021-02-01 01:11

    Tools > Options > Editor > On Save > Remove Trailing Whitespace From: None / All Lines / Modified Lines Only

    This is as of Netbeans 7.3, according to Webmut.

提交回复
热议问题