Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

frnak

macrumors member
Original poster
Oct 21, 2007
73
0
Hi all

In Xcode 3, the program featured a great autocomplete, which can complete a layout for a for/if/while loop function quickly, just by typing "fo", "if", or "whi"

e.g. Writing if, xcode will autocomplete the following

Code:
if (expression) {

(statement)

}

Now that I've upgraded to Xcode 4, the autocomplete does not complete it for me anymore. As a student that writes a lot of these, it's frustrating to see this feature missing.

Any idea how to enable it? or is it really gone? (boo)

Thanks
 
It's still there for me. I type "if", then pause, and it offers "if.." and "if... else..." auto-completions.

There's also the Code Snippets section, which while not as convenient is quite handy for snippets like this.
 
I just tried it, and it doesn't work for me...regardless of the pause

I'm currently writing in a command line based C file...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.