-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
184 lines (184 loc) · 6.27 KB
/
package.json
File metadata and controls
184 lines (184 loc) · 6.27 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
{
"publisher": "banlify",
"name": "debugger-for-console",
"displayName": "Debugger for Console",
"version": "0.20.3",
"description": "Quickly create console debugging information for multiple languages.",
"author": "Libon <bon.li@outlook.com>",
"license": "MIT",
"homepage": "https://github.com/libondev/debugger-for-console#readme",
"repository": {
"type": "git",
"url": "https://github.com/libondev/debugger-for-console"
},
"bugs": {
"url": "https://github.com/libondev/debugger-for-console/issues"
},
"keywords": [],
"categories": [
"Other",
"Debuggers"
],
"sideEffects": false,
"main": "./dist/extension.js",
"browser": "./dist/extension.js",
"icon": "res/icon.png",
"engines": {
"vscode": "^1.55.0"
},
"activationEvents": [
"onCommand:debugger-for-console.create",
"onCommand:debugger-for-console.before",
"onCommand:debugger-for-console.remove",
"onCommand:debugger-for-console.comment",
"onCommand:debugger-for-console.uncomment"
],
"contributes": {
"commands": [
{
"title": "Debugger for Console: Insert after the current line",
"command": "debugger-for-console.create",
"when": "editorTextFocus && !editorReadonly"
},
{
"title": "Debugger for Console: Insert before the current line",
"command": "debugger-for-console.before",
"when": "editorTextFocus && !editorReadonly"
},
{
"title": "Debugger for Console: Comment all statements",
"command": "debugger-for-console.comment",
"when": "editorTextFocus && !editorReadonly"
},
{
"title": "Debugger for Console: Uncomment all statements",
"command": "debugger-for-console.uncomment",
"when": "editorTextFocus && !editorReadonly"
},
{
"title": "Debugger for Console: Delete all statements",
"command": "debugger-for-console.remove",
"when": "editorTextFocus && !editorReadonly"
},
{
"title": "Debugger for Console: Use the latest configuration",
"command": "debugger-for-console.update",
"when": "editorTextFocus && !editorReadonly"
}
],
"keybindings": [
{
"key": "ctrl+shift+down",
"command": "debugger-for-console.create",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+up",
"command": "debugger-for-console.before",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+/",
"command": "debugger-for-console.comment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+u",
"command": "debugger-for-console.uncomment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+backspace",
"command": "debugger-for-console.remove",
"when": "editorTextFocus && !editorReadonly"
}
],
"configuration": {
"type": "object",
"title": "Debugger for Console",
"properties": {
"debugger-for-console.emoji": {
"type": "boolean",
"default": true,
"description": "Determine whether to insert an emoji."
},
"debugger-for-console.quote": {
"type": "string",
"enum": [
"'",
"\"",
"`"
],
"default": "'",
"description": "Specify the type of quotation marks to use when inserting statements. \nTips: Some languages that require the use of double quotes may not support this feature, e.g. Go"
},
"debugger-for-console.fileDepth": {
"type": "number",
"default": 1,
"description": "Set the relative path depth of files. (Set to 0 to disable the path)."
},
"debugger-for-console.lineNumber": {
"type": "boolean",
"default": true,
"description": "Determine whether to insert the line number."
},
"debugger-for-console.outputNewline": {
"type": "boolean",
"default": false,
"description": "Show variables and logos in rows."
},
"debugger-for-console.ellipsis": {
"type": "boolean",
"default": false,
"description": "Simplify long paths and variable names."
},
"debugger-for-console.onlyVariable": {
"type": "string",
"enum": [
"auto",
"enable"
],
"default": "auto",
"enumDescriptions": [
"Automatically detect the programming language of the current document.",
"Remove all redundant prompts and only output variables."
],
"description": "Set to `enable` to cancel all redundant information and output only variables instead..\nTips: When the log output method of some languages does not support multiple parameters, it will be temporarily switched to `enable` internally, such as `Java`.. If it is a custom function, it should be set to \"enable\"."
},
"debugger-for-console.wrappers": {
"type": "object",
"description": "Customize debugging statements for different languages. \nTips: We will replace {VALUE} with the logger, it is optional, so you can also modify it to 'debugger'",
"default": {
"csharp": "Console.Log({VALUE})",
"go": "println({VALUE})",
"java": "System.out.println({VALUE});",
"javascript": "console.log({VALUE})",
"php": "var_dump({VALUE})",
"python": "print({VALUE})",
"rust": "println!({VALUE})",
"default": "console.log({VALUE})"
}
}
}
}
},
"scripts": {
"dev": "tsup src/extension.ts --watch --external vscode",
"build": "npm run typecheck && tsup src/extension.ts --external vscode",
"vscode:prepublish": "npm run build",
"pack": "npx vsce package --no-dependencies",
"release": "bumpp --commit --push --tag",
"typecheck": "tsc --noEmit",
"lint": "oxlint src",
"lint:fix": "oxlint src --fix",
"fmt": "oxfmt src"
},
"devDependencies": {
"@types/vscode": "1.55.0",
"@vscode/vsce": "^2.19.0",
"oxfmt": "^0.20.0",
"oxlint": "^1.35.0",
"tsup": "^7.1.0",
"typescript": "^4.9.5"
}
}