Vscode: Have ctrl+click work the same way as in Visual Studio

Created on 2 Jun 2017  路  2Comments  路  Source: microsoft/vscode

we use dblclick LBtn to select a word, but using ctrl +LBtn is a good way,
in vs studio we could do the following:

  1. basic: press ctrl and click a word, the word is selected.
  2. advanced: when a word is selected , press ctrl+shift and select another word, so we could select from the start of the first word to the end of the last word
    3.advanced: with ctrl down, we clicked a word, don't release the LBtn, move the mouse to some where in the middle of the next word , the whole next word will be selected. this is the same effect as the "ctrl + right"
editor-core feature-request

Most helpful comment

I agree. This is one of the best features of the Visual Studio IDE.
With this feature you can copy-and-replace text faster than typing it into the find/replace window, just by holding down Control and typing Left-Click, C (on the word to copy), Left-Click, V (on the first word to replace), Left-Click, V (on the second word to replace), ...

Please add the option to bind Goto-Definition to F12 (like in Visual Studio) and Control-LeftClick to SelectWord (as requested by xingzhuo1983).

All 2 comments

Related: #3130

I agree. This is one of the best features of the Visual Studio IDE.
With this feature you can copy-and-replace text faster than typing it into the find/replace window, just by holding down Control and typing Left-Click, C (on the word to copy), Left-Click, V (on the first word to replace), Left-Click, V (on the second word to replace), ...

Please add the option to bind Goto-Definition to F12 (like in Visual Studio) and Control-LeftClick to SelectWord (as requested by xingzhuo1983).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sirius1024 picture sirius1024  路  3Comments

biij5698 picture biij5698  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments

mrkiley picture mrkiley  路  3Comments

villiv picture villiv  路  3Comments