How can I select multi-line with vscode?
On Visual Studio you can press left alt key and select multi-lines, but it is not working with vscode.
How can I select multi-line with vscode?
On Visual Studio you can press left alt key and select multi-lines, but it is not working with vscode.
As of May 2017, it is possible. Read the release notes:
We have introduced a new setting,
editor.multiCursorModifier
, to change the modifier key for applying multiple cursors to Cmd+Click on macOS and Ctrl+Click on Windows and Linux. This lets users coming from other editors such as Sublime Text or Atom continue to use the keyboard modifier they are familiar with.The setting can be set to:
- ctrlCmd - Maps to Ctrl on Windows and Cmd on macOS.
- alt - The existing default Alt.
It is not available for now, but there is a feature request on uservoice: http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7761561-vertical-text-selection
The box-selection feature in Visual Studio (where you can highlight a part of multiple lines) isn't available in VSCode.
For features like this that you would love to see in VSCode - you can add the idea to the Code User Voice pages.