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

后端 未结 5 2166
渐次进展
渐次进展 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:14

    if you want to remove all trailing spaces in the file manually ONLY ONCE, you can invoke action 'Remove Trailing Spaces' from Source menu manually.

    Source -> Remove Trailing Spaces

提交回复
热议问题