version-editor

Xcode 4 Version Editor: ignore whitespace

試著忘記壹切 提交于 2019-12-10 12:44:28
问题 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

Why does Xcode 4 version editor sometimes say “no editor”

痞子三分冷 提交于 2019-12-09 08:47:46
问题 In the Project Navigator, there is a little "M" next to the project file, meaning it's been modified. So I tap the Version Editor. The left side shows me the contents of the project file, and the right side says "No Editor". Same thing if I go into Source Control, Commit Selected Files... However, other files (.m, .h, .plist, etc.) all show real differences, and correctly check-in changes. Do I have this mis-configured somehow? 回答1: This happened to me before I updated to Xcode 4.0.2. I think