Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbankier/vscode-quick-select
Quick and Simple Jumping Text Selection
https://github.com/dbankier/vscode-quick-select
Last synced: 4 days ago
JSON representation
Quick and Simple Jumping Text Selection
- Host: GitHub
- URL: https://github.com/dbankier/vscode-quick-select
- Owner: dbankier
- Created: 2015-12-10T00:02:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T06:22:48.000Z (about 4 years ago)
- Last Synced: 2024-10-28T14:27:58.658Z (15 days ago)
- Language: TypeScript
- Size: 303 KB
- Stars: 123
- Watchers: 7
- Forks: 24
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**
```sh
cd $HOME/.vscode/extensions
```
**Windows**
```sh
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 "
![doublequotes](https://github.com/dbankier/vscode-quick-select/raw/master/screens/doublequotes.gif)
⌘k '
![singlequotes](https://github.com/dbankier/vscode-quick-select/raw/master/screens/singlequotes.gif)
**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 `
![singlequotes](https://github.com/dbankier/vscode-quick-select/raw/master/screens/backticks.gif)
⌘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.
![brackets](https://github.com/dbankier/vscode-quick-select/raw/master/screens/brackets.gif)
⌘k <
This also selects the matching tag.
⌘k >
This matches the tag value.
![brackets](https://github.com/dbankier/vscode-quick-select/raw/master/screens/tags.gif)
### 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](https://github.com/dbankier)