Shortcut key to move to next Parameter?

I hope this is easy. Maybe it isn't Resharper specific.

So, I have a class that takes a few params. I create a new instance:

new MyClass("foobar", "barrfoo", ... )

However, when I create a class with strings, I get caught in the middle of my string.

I type "foobar" (resharper creates the last quote for me, so my caret is now just after the 'r' ... and I have to press the 'right' arrow twice, type a comma and then the next param.

Does a shortcut exist to jump out of the current param, add a comma, and move onto the next param?

Hopefully that makes sense.

Chris.

1 comment
Comment actions Permalink

Hello Christopher,

This feature doesn't yet exists, but it is usually referred to as "Complete
Statement".
See http://jetbrains.net/jira/browse/RSRP-5329

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


CM> I hope this is easy. Maybe it isn't Resharper specific.
CM>
CM> So, I have a class that takes a few params. I create a new
CM> instance:
CM>
CM> new MyClass("foobar", "barrfoo", ... )
CM>
CM> However, when I create a class with strings, I get caught in the
CM> middle of my string.
CM>
CM> I type "foobar" (resharper creates the last quote for me, so my
CM> caret is now just after the 'r' ... and I have to press the 'right'
CM> arrow twice, type a comma and then the next param.
CM>
CM> Does a shortcut exist to jump out of the current param, add a comma,
CM> and move onto the next param?
CM>
CM> Hopefully that makes sense.
CM>
CM> Chris.
CM>


0

Please sign in to leave a comment.