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

moeen kamali 1 Reputation point
2021-09-04T18:52:06.78+00:00

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

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,492 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 82,406 Reputation points
    2021-09-04T19:27:35.373+00:00

    I have [Ctrl + W] by default :

    129270-selectcurrentword.jpg

    1 person found this answer helpful.
    0 comments No comments

  2. Karen Payne MVP 35,286 Reputation points
    2021-09-05T12:10:35.473+00:00

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

    I prefer CTRL+SHIFT+W

    129335-selecttoken.gif

    0 comments No comments