-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
175 lines (175 loc) · 4.54 KB
/
package.json
File metadata and controls
175 lines (175 loc) · 4.54 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
{
"name": "debugtrace",
"displayName": "Debug Trace",
"description": "Shortcut tool for debugging statement for Dart developers. Choose between print() and debugPrint().",
"version": "1.0.1",
"publisher": "PrashantGupta",
"license": "MIT",
"icon": "icon.png",
"galleryBanner": {
"color": "#0175C2",
"theme": "dark"
},
"keywords": [
"dart",
"flutter",
"debug",
"logging",
"print",
"console",
"development",
"debugging"
],
"repository": {
"type": "git",
"url": "https://github.com/commentedcodex/debugtrace"
},
"bugs": {
"url": "https://github.com/commentedcodex/debugtrace/issues"
},
"homepage": "https://github.com/commentedcodex/debugtrace#readme",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Debuggers",
"Other"
],
"activationEvents": [
"onLanguage:dart"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "debugtrace.insertLog",
"title": "DebugTrace: Insert Log"
},
{
"command": "debugtrace.insertLogWithMessage",
"title": "DebugTrace: Insert Log with Message"
},
{
"command": "debugtrace.deleteAllLogs",
"title": "DebugTrace: Delete All Logs"
},
{
"command": "debugtrace.commentAllLogs",
"title": "DebugTrace: Comment All Logs"
},
{
"command": "debugtrace.uncommentAllLogs",
"title": "DebugTrace: Uncomment All Logs"
}
],
"keybindings": [
{
"command": "debugtrace.insertLog",
"key": "ctrl+l",
"mac": "cmd+l",
"when": "editorTextFocus && resourceLangId == dart"
},
{
"command": "debugtrace.insertLogWithMessage",
"key": "ctrl+shift+l",
"mac": "cmd+shift+l",
"when": "editorTextFocus && resourceLangId == dart"
},
{
"command": "debugtrace.deleteAllLogs",
"key": "ctrl+alt+l",
"mac": "cmd+alt+l",
"when": "editorTextFocus && resourceLangId == dart"
},
{
"command": "debugtrace.commentAllLogs",
"key": "ctrl+alt+c",
"mac": "cmd+alt+c",
"when": "editorTextFocus && resourceLangId == dart"
},
{
"command": "debugtrace.uncommentAllLogs",
"key": "ctrl+alt+u",
"mac": "cmd+alt+u",
"when": "editorTextFocus && resourceLangId == dart"
}
],
"menus": {
"editor/context": [
{
"command": "debugtrace.insertLog",
"when": "resourceLangId == dart",
"group": "debugtrace"
},
{
"command": "debugtrace.insertLogWithMessage",
"when": "resourceLangId == dart",
"group": "debugtrace"
}
],
"commandPalette": [
{
"command": "debugtrace.insertLog",
"when": "resourceLangId == dart"
},
{
"command": "debugtrace.insertLogWithMessage",
"when": "resourceLangId == dart"
},
{
"command": "debugtrace.deleteAllLogs",
"when": "resourceLangId == dart"
},
{
"command": "debugtrace.commentAllLogs",
"when": "resourceLangId == dart"
},
{
"command": "debugtrace.uncommentAllLogs",
"when": "resourceLangId == dart"
}
]
},
"configuration": {
"title": "DebugTrace",
"properties": {
"debugtrace.logType": {
"type": "string",
"default": "print",
"enum": [
"print",
"debugPrint"
],
"description": "Type of logging function to use - print() for console output, debugPrint() for Flutter apps"
},
"debugtrace.logMessagePrefix": {
"type": "string",
"default": "DebugTrace🔎:",
"description": "Prefix for log messages"
},
"debugtrace.includeFileInfo": {
"type": "boolean",
"default": true,
"description": "Include file name and line number in log messages"
},
"debugtrace.addSeparatorLine": {
"type": "boolean",
"default": false,
"description": "Add separator line after log statements"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "npx @vscode/vsce package"
},
"devDependencies": {
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@vscode/vsce": "^3.4.2",
"typescript": "^4.9.4"
}
}