Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
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". –  courteous Apr 9 '12 at 15:32
    
Maybe this will help: developer.apple.com/library/ios/#recipes/… –  Radoo Apr 9 '12 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 ... –  courteous Apr 9 '12 at 16:05
1  
I found the symbol for Return: ↩ . To add another symbol for immediate autocompletion you need to add another shortcut for "Insert Newline" command. –  Radoo Apr 9 '12 at 17:25
    
Radoo, that's great ... would never have thought of looking at the "Insert Newline". Thank you. –  courteous Apr 9 '12 at 17:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.