Re: Code Completion on Tab Only
Re: Code Completion on Tab Only
- Subject: Re: Code Completion on Tab Only
- From: James Bucanek <email@hidden>
- Date: Mon, 18 Dec 2006 16:05:00 -0700
Mark McGranaghan wrote on Monday, December 18, 2006:
>Thanks for your help James. The preference changes that you
>suggested do prevent the undesired code completion problems that I
>was describing, but they also restrict the functionality of the code
>completion feature. For example, I don't get code completion
>suggestions when typing in long variable outside of method calls and
>member accesses.
Try these settings: Go back to Automatically Suggest: Always, but leave the delay at something like 0.5 seconds. Xcode will always try to suggest a code completion -- which is what it sounds like you want -- but it won't do it instantly. This should help with the "false starts" that you're getting. When you want to get a completion, simply stop typing for a moment and they will appear.
>What I would like to do is still have the code
>completion feature -suggesting- completions constantly, but only -
>inserting- completions when I press the tab key, and not other keys
>like space or double-quote. Is there no way to configure code
>completion to behave like that?
I believe that code completion will insert and finish completion whenever you type any non-symbol character. I'm not aware of any way of changing this as the code completion interface is outside the normal editor key bindings. You might want to file an enhancement request.
James Bucanek
____________________________________________________________________
Author of Beginning Xcode ISBN: 047175479X
<http://www.beginningxcode.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden