-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
225 lines (225 loc) · 6.12 KB
/
package.json
File metadata and controls
225 lines (225 loc) · 6.12 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
220
221
222
223
224
225
{
"name": "comment-cleaner-pro",
"displayName": "Comment Cleaner Pro",
"description": "Streamline your code by effortlessly removing comments across 20+ programming languages. Improve readability, reduce file size, and prepare code for production with powerful cleaning options and detailed statistics.",
"version": "1.0.8",
"publisher": "ChristliebDela",
"icon": "media/icon.png",
"engines": {
"vscode": "^1.50.0"
},
"activationEvents": [
"onCommand:ccp.cleanComments",
"onCommand:ccp.cleanMultipleFiles"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "ccp.cleanComments",
"title": "Comment Cleaner Pro: Clean Current File"
},
{
"command": "ccp.cleanMultipleFiles",
"title": "Comment Cleaner Pro: Clean Multiple Files"
},
{
"command": "ccp.compareWithBackup",
"title": "Compare with Backup"
},
{
"command": "ccp.restoreFromBackup",
"title": "Restore from Backup"
},
{
"command": "ccp.removeFromHistory",
"title": "Remove from History"
},
{
"command": "ccp.previewCleanComments",
"title": "Preview Comment Removal"
},
{
"command": "ccp.clearHistory",
"title": "Clear History",
"icon": "$(clear-all)"
},
{
"command": "ccp.focusActionsView",
"title": "Comment Cleaner Pro: Focus on Actions View"
}
],
"menus": {
"editor/context": [
{
"command": "ccp.cleanComments",
"args": {},
"group": "modification"
}
],
"explorer/context": [
{
"command": "ccp.cleanComments",
"when": "resourceLangId && resourceLangId != 'markdown'",
"group": "7_modification"
},
{
"command": "ccp.cleanMultipleFiles",
"when": "explorerResourceIsFolder",
"group": "7_modification"
}
],
"view/item/context": [
{
"command": "ccp.compareWithBackup",
"when": "view == ccpHistory && viewItem == 'historyItem'",
"group": "inline"
},
{
"command": "ccp.restoreFromBackup",
"when": "view == ccpHistory && viewItem == 'historyItem'",
"group": "1_modification"
},
{
"command": "ccp.removeFromHistory",
"when": "view == ccpHistory && viewItem == 'historyItem'",
"group": "1_modification"
}
],
"view/title": [
{
"command": "ccp.clearHistory",
"when": "view == ccpHistory",
"group": "navigation",
"icon": {
"light": "media/light/clear.svg",
"dark": "media/dark/clear.svg"
}
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "comment-cleaner-pro",
"title": "Comment Cleaner Pro",
"icon": "media/icon-small.png"
}
]
},
"views": {
"comment-cleaner-pro": [
{
"id": "ccpButtons",
"name": "Actions",
"type": "webview"
},
{
"id": "ccpHistory",
"name": "Cleaned Files"
},
{
"id": "ccpStatistics",
"name": "Statistics",
"type": "webview"
}
]
},
"configuration": {
"title": "Comment Cleaner Pro",
"properties": {
"commentCleanerPro.createBackupsByDefault": {
"type": "boolean",
"default": true,
"description": "Create backup files by default"
},
"commentCleanerPro.preserveLicenseHeaders": {
"type": "boolean",
"default": true,
"description": "Preserve license/copyright headers at the top of files"
},
"commentCleanerPro.customCommentPatterns": {
"type": "object",
"default": {},
"description": "Define custom comment patterns for additional languages"
},
"commentCleanerPro.preserveTodoFixme": {
"type": "boolean",
"default": false,
"description": "Preserve TODO and FIXME comments"
},
"commentCleanerPro.preservePatterns": {
"type": "array",
"default": [],
"description": "Preserve comments matching these regex patterns"
},
"commentCleanerPro.statisticsViewMode": {
"type": "string",
"default": "global",
"enum": [
"global",
"file"
],
"description": "Default view mode for statistics panel (All Files or Current File)"
}
}
},
"css": [
"./media/ccpStyles.css"
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && npm run copy-python",
"watch": "tsc -watch -p ./",
"copy-python": "if not exist out\\python mkdir out\\python && copy src\\python\\ccp.py out\\python\\",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^16.0.0",
"@types/vscode": "^1.50.0",
"@typescript-eslint/eslint-plugin": "^8.33.0",
"@typescript-eslint/parser": "^8.33.0",
"@vscode/vsce": "^2.15.0",
"eslint": "^9.28.0",
"typescript": "^5.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/christliebdela/Comment-Cleaner-VsCode-Ext"
},
"markdown": "github",
"readme": "README.md",
"changelog": "CHANGELOG.md",
"keywords": [
"VS Code",
"Extension",
"vscode-extension",
"Automation",
"Formatter",
"Developer Tools",
"Code Quality",
"Productivity",
"comments",
"code cleanup"
],
"author": {
"name": "Christlieb Dela"
},
"categories": [
"Formatters",
"Programming Languages",
"Other"
],
"galleryBanner": {
"color": "#C80000",
"theme": "dark"
},
"bugs": {
"url": "https://github.com/christliebdela/Comment-Cleaner-VsCode-Ext/issues"
},
"homepage": "https://github.com/christliebdela/Comment-Cleaner-VsCode-Ext/blob/main/README.md",
"license": "GPL-3.0"
}