Yes I know about the ⌃⇧⌘← and ⌃⇧⌘→ expand/shrink selection. Having come from VIM I think these are still missing.
It now supports multilines automatic selection, matching correctly.
NEW: you can also now toggle single/double quotes
See the examples below.
Press F1 and narrow down the list commands by typing extension
. Pick Extensions: Install Extension
.
Select the Quick and Simple Text Selection
extension from the list
Mac & Linux
cd $HOME/.vscode/extensions
Windows
cd %USERPROFILE%\.vscode\extensions
All Platforms
git clone https://github.com/dbankier/vscode-quick-select.git
cd vscode-quick-select
npm install
Here some examples - and it supports multiple selections.
In the examples below use CTRL instead of ⌘ for Windows.
⌘k "
⌘k '
NEW: You can also use this following shortcut to select either single, double quotes or backticks
⌘k ;
NEW: You can also use this following shortcut to toggle quotes, e.g. "word"
to 'word'
⌘k :
NOTE: the extensions can be configured to exclude backticks from selection or switching
⌘k `
⌘k ( and ⌘k [ and ⌘k {
Using the following performs and outer selection:
⌘k ) and ⌘k ] and ⌘k }
Or if you have already made in inner selection, use the same key combination again to expand to an outer selection.
⌘k <
This also selects the matching tag.
⌘k >
This matches the tag value.
extension.selectSingleQuote
extension.selectDoubleQuote
extension.selectEitherQuote
extension.switchQuotes
extension.selectParenthesis
extension.selectBackTick
extension.selectSquareBrackets
extension.selectCurlyBrackets
extension.selectParenthesisOuter
extension.selectSquareBracketsOuter
extension.selectCurlyBracketsOuter
extension.selectAngleBrackets
extension.selectInTag
MIT © David Bankier @dbankier