Xcode 4 Version Editor: ignore whitespace

2019-06-16 04:25发布

问题:

Does anyone know how to get the version editor in Xcode 4 to ignore whitespace?

Update:

I sent in a bug report. The bug report was closed as a duplicate. The state of the original bug report is closed. In the latest version of Xcode (4.3) I still cannot find a way to remove whitespace checking.

回答1:

Solution:

Right click in the gutter between both editors and select "Hide Whitespaces".

I've also tried modifying git config (git config add core.whitespace) but that didn't work.



回答2:

The Xcode manual page referencing the Visual Editor doesn't mention any option regarding whitespace.

However, check if you have the "Comparison and Differencing Options" in Xcode 4, which should allow you to specify what you want to ignore.



回答3:

I sent in a bug report. The bug report was closed as a duplicate. The state of the original bug report is closed. In the latest version of Xcode (4.3) I still cannot find a way to remove whitespace checking.