Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does intellisense work in XCode?

I am a noob to XCode, so forgive what could be a dumb question. It seems like XCode kind of does intellisense (or code completion). When I type in:

[self setT

it suggests the setTitle because its the first matching one. Is there a way to make it work a bit more like Visual Studio where you get a dropdown of available methods/properties/etc...?

like image 336
AngryHacker Avatar asked Aug 17 '09 05:08

AngryHacker


People also ask

Why is autocomplete not working Xcode?

Go to Xcode > Preferences > Text Editing again. Quit out of Xcode and then relaunch Xcode. Now go to Code completion and check 'Suggest completions while typing'. Try typing library function or enum and enjoy!

Does Xcode have autocomplete?

Xcode tip #9: Xcode has great code completion built right in, but sometimes as you scroll through the options you might find the names are too long to fit. Fortunately, you can just grab the edge of the autocomplete popup and drag it as wide as you want!

How do I show suggestions in Xcode?

Press the escape key when auto-complete makes the first suggestion. This will display the list.


1 Answers

You can press "Esc" for a list of suggestions.
You can also turn on automatic suggestions in the preferences.

like image 123
Thomas Zoechling Avatar answered Oct 17 '22 01:10

Thomas Zoechling