Ctrl-Click Sublime Text on VS Code

Asked

Viewed 428 times

1

In Sublime Text has a function where we hold the Ctrl and click on a text and it is selected.

There is this function in VS Code?

Here’s an example image where I selected 2 different texts in Sublime.

inserir a descrição da imagem aqui

3 answers

1


Dude exist by Meno 3 or more ways to do this in VS Code, without necessarily having to customize any shortcut or change settings.

Option 1

The first is holding Alt and clicking 3x in some line character (the first click marks the cursor, the second click selects the word and the third click selects the phrase)

inserir a descrição da imagem aqui


Option 2

In this option pressing Alt you click on the lines you want to mark, then press Ctrl+L and will select the entire line

inserir a descrição da imagem aqui

Shortcut Ctrl+L inserir a descrição da imagem aqui


Option 3

In this option pressing Alt you click at the beginning of each row you want to select and then press Shift + End

inserir a descrição da imagem aqui

0

  • Got it, good answer, I installed this extension and ran as wanted, I will use it until who knows the vscode implement these functions.

0

In the current version of Vscode (1.33.1) you can handle Alt + (Clique duplo) in texts to select them.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.