5

How to make the autocompletion feature return the current suggestion (from "completion list") in full?

That is, how not to jump only to the next CamelCase with TAB ... but instead have, say, CTRL + TAB choose the suggestion immediately/in full?

Example

Having CGPDFStringGetLength selected in the "completion list", one would have to press TAB four (4) times!

  1. first TAB get to CGPDF
  2. then to CGPDFString
  3. then to CGPDFStringGet
  4. then to CGPDFStringGetLength

It would be nice to have CTRL + TAB (for example) make the above a one-step process.

1 Answer 1

3

I think it's Enter. I'm not sure. Let me know if this worked.

This question is more stackoverflow-ish than superuser-ish.

Later Edit: This can be changed from Key Bindings settings. The symbol to look for is ↩ . To add another symbol for immediate autocompletion you need to add another shortcut for "Insert Newline" command.

5
  • Indeed it is Enter ... is it also possible to change it (it's not a bad shortcut, though)? I can't find it in "Key Bindings" preferences; there are only 3 shortcuts under "Code Completion".
    – Blaz
    Commented Apr 9, 2012 at 15:32
  • Maybe this will help: developer.apple.com/library/ios/#recipes/…
    – user127350
    Commented Apr 9, 2012 at 15:45
  • Yes, that's the built-in help. Nevertheless, how can I search for shortcuts with Enter in them? Pasting ⌅ in the search bar doesn't (seem to) work ...
    – Blaz
    Commented Apr 9, 2012 at 16:05
  • 2
    I found the symbol for Return: ↩ . To add another symbol for immediate autocompletion you need to add another shortcut for "Insert Newline" command.
    – user127350
    Commented Apr 9, 2012 at 17:25
  • Radoo, that's great ... would never have thought of looking at the "Insert Newline". Thank you.
    – Blaz
    Commented Apr 9, 2012 at 17:44

You must log in to answer this question.

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