Xcode's code autocompletion is quite good, I am missing one thing though: in vim I can press ctrl+n to autocomplete any word, even those in the comment.

Here is a screenshot from xcode to show what I mean:

enter image description here

I am wondering if there is a keyboard shortcut to achieve I am looking for.

1 Answer 1


Control–Space bar is used to either turn the Auto-Complete ON/OFF. You can read more about it here

  • this does not answer the question at all. The question is not how to turn Auto-Complete on or off, but how to autocomplete regular words as opposed to symbols the compiler recognizes. Sep 6, 2015 at 22:46
  • 1
    The answer is actually correct, only language is ambiguous. By turning on/off means showing and hiding the suggestion box. Give it a try.
    – Darpan
    Aug 27, 2018 at 15:05
  • I gave it a try and I can confirm: The answer is NOT correct. It is NOT doing the simple word completion any way. Exactly as shown by the screenshot in the original question... Jun 20 at 15:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .