question

moeenkamali-7862 avatar image
0 Votes"
moeenkamali-7862 asked karenpayneoregon answered

how to select whole word under cursor by hotkey in visual studio?

i know i can use arrow keys with ctrl and shift to select the word but is there any way to select it directly?

dotnet-csharp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Castorix31 avatar image
1 Vote"
Castorix31 answered

I have [Ctrl + W] by default :

129270-selectcurrentword.jpg



selectcurrentword.jpg (112.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

karenpayneoregon avatar image
0 Votes"
karenpayneoregon answered

The key combination is dependent on the keyboard schema as per @Castorix31

I prefer CTRL+SHIFT+W

129335-selecttoken.gif



selecttoken.gif (349.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.