Cursor position when using double angle brackets

HI,

I don't know if this is a feature request or a bug report!

If I type   Expression<Func<T,bool>> the cursor remains at the first ">" (as per pic)

It would be nice if it could move to the end of the second ">" instead.


It would also be nice to automatically have the semicolon inserted automatically at the end of:

var list = new List<string>{

so you would get

var list=new List<string>{}; with the cursor positioned between the two {}.

Regards
Jeremy



Attachment(s):
Capture.PNG
0
4 comments
Avatar
Andrey Serebryansky

Hello Jeremy,

Thank you for feedback! I've filed a bug-report (http://youtrack.jetbrains.net/issue/RSRP-185141)
regarding angle brackets. As to semicolon, you can use Complete Statement
(ReSharper > Edit > Complete Statement) after filling List


0

Hi Andrey,

Sorry - I must be a little slow today - I can't find (ReSharper > Edit > Complete Statement) - where is it?

Thanks
Jeremy

0

temp.jpg
(default shortcut Ctrl+Shift+Enter, hooks into Edit.LineOpenBelow I believe).

0

Thanks very much.

Regards
Jeremy

0

Please sign in to leave a comment.