11# Generic Expand Selection
22
3+ [ ![ VS Code Marketplace] ( https://vsmarketplacebadges.dev/version/dandehoon.vscode-generic-expand-selection.png )] ( https://marketplace.visualstudio.com/items?itemName=dandehoon.vscode-generic-expand-selection )
34[ ![ Test] ( https://github.com/dandehoon/vscode-generic-expand-selection/actions/workflows/test.yml/badge.svg )] ( https://github.com/dandehoon/vscode-generic-expand-selection/actions/workflows/test.yml )
45
56Smartly expand or shrink your code selection, recover from misclicks or accidental cursor moves.
@@ -8,13 +9,13 @@ Smartly expand or shrink your code selection, recover from misclicks or accident
89
910### Rules
1011
11- ** Token Expansion** : Expands to word tokens (identifiers, keywords, etc.) with customizable patterns.
12- ** Quote Expansion** : Expands to content within quotes (` " ` , ` ' ` , `` ` `` )
13- ** Scope Expansion** : Expands to content within open-close pairs (` [] ` , ` {} ` , ` () ` )
14- ** Line Expansion** : Expands to full line(s) content
15- ** Selection History** : Remember previous selections for step-by-step shrinking
12+ - ** Token Expansion** : Expands to character tokens with customizable patterns.
13+ - ** Quote Expansion** : Expands to content within quotes (` " ` , ` ' ` , `` ` `` ).
14+ - ** Scope Expansion** : Expands to content within open-close pairs (` [] ` , ` {} ` , ` () ` ).
15+ - ** Line Expansion** : Expands to full line(s) content.
16+ - ** Selection History** : Remember previous selections for step-by-step shrinking.
1617
17- ### Examples
18+ ### Example
1819
1920Text: ` const config = { url: 'https://example.com' }; `
2021
@@ -32,12 +33,16 @@ With cursor on `xamp`, next expansions will be:
3233
3334## Usage
3435
36+ ### Quick Install
37+
38+ [ ** Get it on VS Code Marketplace** ] ( https://marketplace.visualstudio.com/items?itemName=dandehoon.vscode-generic-expand-selection )
39+
3540### Commands & Keybindings
3641
37- | Command | Description | Default Keybinding |
38- | ------------------------------- | ---------------- | ----------------------------------------------- |
39- | ` genericExpandSelection.expand ` | Expand Selection | ` Ctrl+E ` (Win/Linux), ` Cmd+E ` (Mac) |
40- | ` genericExpandSelection.shrink ` | Shrink Selection | ` Ctrl+Shift+E ` (Win/Linux), ` Cmd+Shift+E ` (Mac) |
42+ | Command | Default Keybinding | Description |
43+ | ------------------------------- | ----------------------------------------------- | ---------------- |
44+ | ` genericExpandSelection.expand ` | ` Ctrl+E ` (Win/Linux), ` Cmd+E ` (Mac) | Expand Selection |
45+ | ` genericExpandSelection.shrink ` | ` Ctrl+Shift+E ` (Win/Linux), ` Cmd+Shift+E ` (Mac) | Shrink Selection |
4146
4247> [ !TIP]
4348> Both commands work with single and multiple cursor selections.
0 commit comments