I have checked the questions with similar titles, and searched, but found nothing. But I swear I've seen someone do this before.
Say I have something like the following:
var mystr = "here is some text I want to select";
Is there a way to place the cursor caret within the string, then use a shortcut to select it without quotes? Another shortcut to select with quotes?
If this is available in ReSharper instead, what is the shortcut there?
You can use Ctrl + W
(Extend selection) shortcut in Visual Studio. If you are in a word it will select the word, press again and it will select the string without the quotes, then the string with the quotes, then the statement, then the next logical element...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With