Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何让 Xcode 4 中的版本编辑器忽略空格?
更新:
我发送了一个错误报告。该错误报告已作为副本关闭。原始错误报告的状态已关闭。在最新版本的 Xcode (4.3) 中,我仍然找不到删除空格检查的方法。
解决方案:
右键单击两个编辑器之间的装订线,然后选择“隐藏空格”。
我也尝试过修改 git config (git config add core.whitespace) 但这没有用。
引用 Visual Editor的Xcode 手册页没有提到任何有关空格的选项。
但是,请检查您在 Xcode 4 中是否有“比较和差异选项”,它应该允许您指定要忽略的内容。