Trim trailing spaces in Xcode

后端 未结 7 2108

Is there a way to force Xcode to trim trailing whitespaces when I save file?

I\'m using version 3.1.3 if that matters.

7条回答
  •  粉色の甜心
    2021-01-30 01:11

    I'm using the Google Toolbox For Mac Xcode Plugin, it adds a "Correct whitespace on save" parameter that trim trailing whitespace on save. I missed that a lot from emacs.

提交回复
热议问题