forked from dandehoon/vscode-generic-expand-selection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.31 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "vscode-generic-expand-selection",
"displayName": "Generic Expand Selection",
"description": "Smartly expands selection to nearest scoped characters like quotes, brackets, and more.",
"publisher": "dandehoon",
"version": "1.3.2",
"icon": "icons/icon_128.png",
"repository": {
"type": "git",
"url": "git://github.com/dandehoon/vscode-generic-expand-selection.git"
},
"engines": {
"vscode": "^1.99.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "genericExpandSelection.expand",
"title": "Expand Selection"
},
{
"command": "genericExpandSelection.shrink",
"title": "Shrink Selection"
}
],
"keybindings": [
{
"command": "genericExpandSelection.expand",
"key": "ctrl+e",
"mac": "cmd+e",
"when": "editorTextFocus"
},
{
"command": "genericExpandSelection.shrink",
"key": "ctrl+shift+e",
"mac": "cmd+shift+e",
"when": "editorTextFocus && editorHasSelection"
}
],
"configuration": {
"title": "Generic Expand Selection",
"properties": {
"genericExpandSelection.token.enabled": {
"type": "boolean",
"default": true,
"description": "Enable token-based selection expansion",
"scope": "language-overridable"
},
"genericExpandSelection.quote.enabled": {
"type": "boolean",
"default": true,
"description": "Enable quote-based selection expansion",
"scope": "language-overridable"
},
"genericExpandSelection.scope.enabled": {
"type": "boolean",
"default": true,
"description": "Enable scope-based selection expansion (brackets, braces, parentheses)",
"scope": "language-overridable"
},
"genericExpandSelection.line.enabled": {
"type": "boolean",
"default": true,
"description": "Enable line-based selection expansion",
"scope": "language-overridable"
},
"genericExpandSelection.token.patterns": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"[a-zA-Z0-9_-]+",
"[a-zA-Z0-9_\\-.]+",
"[a-zA-Z0-9_\\-.#$@%]+",
"[^\\s[\\]{}()\"'`]+"
],
"description": "Regular expressions for token pattern matching during selection expansion",
"scope": "language-overridable"
}
}
}
},
"scripts": {
"check": "tsc --noEmit && eslint src --ext ts",
"test": "tsc -p . --outDir out && node esbuild.js && vscode-test",
"watch": "node esbuild.js --watch",
"build": "pnpm run check && node esbuild.js --production && pnpm dlx vsce package --no-dependencies -o out.vsix",
"publish": "pnpm dlx vsce publish --no-dependencies",
"local": "pnpm run build && code --install-extension out.vsix"
},
"devDependencies": {
"@eslint/js": "^9.29.0",
"@types/mocha": "^10.0.10",
"@types/node": "~22.15.33",
"@types/vscode": "^1.99.0",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.6.0",
"esbuild": "^0.25.5",
"eslint": "^9.29.0",
"mocha": "^11.7.1",
"typescript": "5.5.4"
},
"packageManager": "pnpm@10.12.3+sha512.467df2c586056165580ad6dfb54ceaad94c5a30f80893ebdec5a44c5aa73c205ae4a5bb9d5ed6bb84ea7c249ece786642bbb49d06a307df218d03da41c317417"
}