madskristensen / Tweakster

A Visual Studio extension
Apache License 2.0
239 stars 23 forks source link

CTRL + W select / expand selection #33

Closed AlbertoMonteiro closed 4 years ago

AlbertoMonteiro commented 4 years ago

One of my favorites features on ReSharper is the ability to press CTRL + W on the string opening/ending quotes and it does select the entire string, and if I keep pressing the CTRL + W it will expaned the selection over and over, and if I do CTRL + SHIFT + W, it does the reverse. It does not work only on string, if I am at the beginning of the method, if I do the shortcut it will select the entire method, including signature. Here's an example of this working on Android Studio 2020-08-30-22-17-38

madskristensen commented 4 years ago

Ctrl+W is mapped to closing of the document, which is an old ask from the community. In at least C# you can do it when by clicking Shift+Alt+= and Shift+Alt+- to go back

AlbertoMonteiro commented 4 years ago

Thanks, I didn't know about this existent shortcut that maps to Edit.ExpandSelection command

image