Create strings as templating strings by default.

Answered

Let's take a normal exception constructor InvalidOperationException(string message)

With resharper, i can type throw new Invalid... auto completes to InvalidOperationException. Now i'm in the ctor arguments. If I type " resharper completes it to be "" with the cursor in the middle.

I really believe it should now complete to $"" with the cursor between the parenthesis.

--- 

Alternatively if i type a { in a string, resharper either automatically make the string a template string or atleast lightbulb/prompt it. 

2 comments
Comment actions Permalink
Official comment

Hello Chris,

You are welcome to follow and comment https://youtrack.jetbrains.com/issue/RSRP-458301 ticket.

Thanks! 

Comment actions Permalink

Added to 458301

0

Please sign in to leave a comment.