How to enable patch on Xcode 4.0?

I just upgraded to Xcode 4, and I read the Xcode 4 Transition Guide when I found information about the new Fix-it feature that erros shows as you type. I use C ++ (.mm) files and install the compiler in LLVM GCC-4.2, but it does not show errors as I type. How to enable this feature?

+6
xcode
source share
1 answer

They do not appear when you type as they say, or at least I couldn’t get him to show errors. It simply shows you a red circle on the line number, which you must click to get a correction. It's pretty lame, but you can use a key combination to make the commit at least. Fortunately, they also included the "Fix all in scope" link.

Fix Next Issue: control + Command + ' Fix Previous Issue: control + Command + " Fix All In Scope: control + Command + F 

I just tried to look again, and the closest that I could see, possibly showing input errors, was to switch to the trial navigator and leave it. Your errors will be displayed there as you type, but they are very discrete while viewing the code. Then you can just click on the problem in the navigator, and you will get a window with suggestions, which is nice.

+8
source share

All Articles