Reputation: 2391
ReSharper automatically completes open parenthesis in method calls, and I like that. I want it to continue doing that. However! Is there some easy way to move the caret past the auto-completed parenthesis?
For example, when I type:
Encoding.UTF8.GetBytes(
I am given the closing parenthesis immediately:
Encoding.UTF8.GetBytes()
Then I add "Test" as the parameter:
Encoding.UTF8.GetBytes("Test")
But now, my caret is immediately before the closing parenthesis. It's annoying to move my hand to the END
key, or to the arrows just so I can skip over the auto-completed parenthesis so I can add a semi-colon:
Encoding.UTF8.GetBytes("Test");
Neither TAB
nor ENTER
do what I want. And the answer given here: How to quickly move to the end of generated braces/parenthesis/etc in Visual Studio with Resharper? advises me to just go ahead and type the )
. But then what's the point of automatically closing the parenthesis if I'm going to type it anyway??
Upvotes: 6
Views: 814
Reputation: 20565
Uncheck that box! :) all it will stop auto completion of brackets!
Upvotes: 0
Reputation: 10118
If you want to completely end your current statement and go not only beyond all ')', but also beyond ';', then you can use Complete Statement feature (Ctrl+Shift+Enter). See more info here http://www.jetbrains.com/resharper/webhelp/Coding_Assistance__Complete_Statement.html
Otherwise there is no such a feature because when you need to skip just one ')', you'd still need to press a key to go over ')', and Enter or Tab are not better than ')' or right arrow - no use to change one for another.
Upvotes: 2