Swift in 3.3: How to use "(" to trigger autocomplete without adding an extra set of parentheses?

When coding Swift in 3.3, I will try to use autocomplete on a method name, for instance:

Screen Shot 2015-11-03 at 5.43.10 PM.png

... and as that is the method I want, I press "(" to trigger autocomplete, it will not "step over" the initial parenthesis and put me in the method, as it does in C++ coding when pressing "(", but instead, inserts a second pair of parentheses, as so:

Screen Shot 2015-11-03 at 5.43.19 PM.png

Only if I trigger autocomplete with ENTER does it work properly (placing my cursor inside the parentheses)

I cannot find an autocomplete setting to fix this -- I can only trigger whether "(" (or dot, space, etc.) will or will not trigger autocorrect, not whether it will trigger it properly.

Any advice would be useful!  I go a lot from C++ to Swift and the different mannerisms from the same editor depending on language are a bit of a pain to deal with.

Screen Shot 2015-11-03 at 5.43.19 PM.png
1 comment
Comment actions Permalink

Hi Charles.

That's unintended difference in behavior, I've created an issue for that: OC-12677.
Please upvote/watch for progress.


Please sign in to leave a comment.