-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
219 lines (219 loc) · 6.46 KB
/
package.json
File metadata and controls
219 lines (219 loc) · 6.46 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"name": "pointblank",
"displayName": "Point Blank",
"publisher": "fastblit",
"description": "VS Code bullet point outliner mode",
"repository": {
"type": "git",
"url": "https://github.com/ryanncode/point-blank"
},
"version": "0.7.0",
"engines": {
"vscode": "^1.100.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:plaintext",
"onLanguage:markdown"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "pointblank.focusMode",
"title": "Point Blank: Focus Mode (Hoisting)"
},
{
"command": "pointblank.unfocusMode",
"title": "Point Blank: Unfocus"
},
{
"command": "pointblank.quickOpenFile",
"title": "Point Blank: Quick Open File from Template"
},
{
"command": "pointblank.expandTemplate",
"title": "Point Blank: Expand Template Inline",
"commandPalette": false
},
{
"command": "pointblank.tab",
"title": "Point Blank: Handle Tab Key",
"commandPalette": false
},
{
"command": "pointblank.enterKey",
"title": "Point Blank: Handle Enter Key",
"commandPalette": false
},
{
"command": "pointblank.insertTypeQuery",
"title": "Point Blank: Insert Type Query"
},
{
"command": "pointblank.updateTypeQuery",
"title": "Point Blank: Update Type Query"
},
{
"command": "pointblank.toggleAutoBullets",
"title": "Point Blank: Toggle Auto Bullets"
}
],
"keybindings": [
{
"command": "pointblank.focusMode",
"key": "alt+f",
"mac": "alt+f",
"when": "editorTextFocus"
},
{
"command": "pointblank.unfocusMode",
"key": "alt+u",
"mac": "alt+u",
"when": "editorTextFocus"
},
{
"command": "pointblank.quickOpenFile",
"key": "alt+n",
"mac": "alt+n",
"when": "editorTextFocus"
},
{
"command": "pointblank.tab",
"key": "tab",
"when": "editorTextFocus && pointblank.atBulletStart"
},
{
"command": "pointblank.pasteWithBullets",
"key": "ctrl+v",
"mac": "cmd+v",
"when": "editorTextFocus && editorLangId == 'markdown' && editorHasSelection == false"
},
{
"key": "enter",
"command": "pointblank.enterKey",
"when": "editorTextFocus && editorLangId == 'markdown'"
},
{
"command": "pointblank.toggleAutoBullets",
"key": "alt+b",
"mac": "alt+b",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Point Blank",
"properties": {
"pointblank.defaultBulletColor": {
"type": "string",
"description": "Color for default bullet decorators."
},
"pointblank.starBulletColor": {
"type": "string",
"description": "Color for '*' bullet decorators."
},
"pointblank.plusBulletColor": {
"type": "string",
"description": "Color for '+' bullet decorators."
},
"pointblank.minusBulletColor": {
"type": "string",
"description": "Color for '-' bullet decorators."
},
"pointblank.numberedBulletColor": {
"type": "string",
"description": "Color for numbered bullet decorators."
},
"pointblank.blockquoteColor": {
"type": "string",
"default": "#808080",
"description": "Color for blockquote decorators."
},
"pointblank.keyValueColor": {
"type": "string",
"default": "#6c757d",
"description": "The color for Key:: properties."
},
"pointblank.templates": {
"type": "object",
"description": "Map of type names to their template file paths.",
"default": {
"Book": ".vscode/templates/book.md",
"Person": ".vscode/templates/person.md"
}
},
"pointblank.debounceDelay": {
"type": "number",
"default": 15,
"description": "The debounce delay in milliseconds for document and visible range changes. Increase for better performance on large files, decrease for more responsiveness."
},
"pointblank.newFileDirectory": {
"type": "string",
"default": ".",
"description": "The default directory for new files created via Quick Open. Relative to the workspace root."
},
"pointblank.viewportBuffer": {
"type": "number",
"default": 20,
"description": "The number of extra lines to render above and below the visible viewport for decorations. Increase for smoother scrolling effects."
},
"pointblank.autoBullets": {
"type": "boolean",
"default": true,
"description": "Automatically insert bullet points on new lines. Toggle with the Point Blank: Toggle Auto Bullets command."
}
}
},
"menus": {
"commandPalette": [
{
"command": "pointblank.expandTemplate",
"when": "false"
},
{
"command": "pointblank.tab",
"when": "false"
},
{
"command": "pointblank.enterKey",
"when": "false"
}
]
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"test:paste": "jest test/pasteUtils.test.ts",
"test:parse": "jest test/documentParser.test.ts"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/jest": "^30.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.100.0",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.25.1",
"glob": "^8.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.0.3",
"ts-jest": "^29.4.0",
"ts-loader": "^9.5.2",
"typescript": "^5.8.3",
"webpack": "^5.99.7",
"webpack-cli": "^6.0.1"
}
}