I have an Objective-C project in Xcode 6. In Xcode 5, when I type the "@" character, it autocompletes for you, but it doesn't do that in Xcode 6. I couldn't find an option to enable this in settings/preferences, does anyone happen to know how to get this feature back? For objects, classes and constants etc, autocompletion works.
Thanks a lot!
This can happen when the file is not a member of the Target. Open the file where autocomplete is not working and show the the "Utilities" tab in the top right of Xcode (blue in the screenshot below). Ensure your Target (typically your app's name) is checked.
Show/hide completions: ⎋ ( Escape ) OR ⌃Space ( Control + Space ) Type some code, use either ⎋ or ⌃Space to toggle auto-complete (I'm hooked on Escape ), and Xcode will offer a few intelligent suggestions to complete your code.
Xcode configures the initial build phases for each target at creation time, but you can add or modify those build phases later. You might add build phases to copy additional files to your app bundle, or to execute custom shell scripts. You can also examine the build phases to diagnose potential issues.
Apple changed an autocomplete behavior and now you should hit ESC right after you pressed @ symbol.
Do not forget to enable this "feature" in settings menu:
Xcode preferences > Text editing > Use Escape key to show completion suggestions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With