vscode-quick-select
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.
Installation
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
Manual Install
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
Usage
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.
Customisation
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
License
MIT Β© David Bankier @dbankier