-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 4.99 KB
/
package.json
File metadata and controls
163 lines (163 loc) · 4.99 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
{
"version": "1.0.1",
"scripts": {
"build": "tsdown && vsce package --no-dependencies",
"watch": "tsdown --watch",
"test": "vitest run"
},
"name": "rm-comments",
"publisher": "NazmusSayad",
"displayName": "Remove Comments (rm-comments)",
"description": "Remove all comments from your code.",
"license": "MIT",
"main": "./dist/extension.cjs",
"browser": "./dist/extension.cjs",
"engines": {
"vscode": "^1.100.0"
},
"type": "module",
"categories": [
"Other"
],
"icon": "images/icon.png",
"keywords": [
"comment",
"comments",
"delete",
"remove",
"extract",
"strings"
],
"galleryBanner": {
"color": "#22252c",
"theme": "dark"
},
"contributes": {
"configuration": {
"title": "Remove Comments",
"properties": {
"rm-comments.c99": {
"type": "boolean",
"description": "Use c99+ comments. // added.",
"scope": "resource",
"default": false
},
"rm-comments.removeBlankLines.before": {
"type": "integer",
"description": "Remove up to N blank lines before a removed comment.",
"scope": "resource",
"default": 0
},
"rm-comments.removeBlankLines.after": {
"type": "integer",
"description": "Remove up to N blank lines after a removed comment.",
"scope": "resource",
"default": 0
},
"rm-comments.extractStrings.filePath": {
"type": "string",
"description": "Full path of the file to store the extracted strings.",
"scope": "resource"
},
"rm-comments.extractStrings.lineJoin": {
"type": "string",
"description": "For multi line strings replace the line separator with this string.",
"default": "@@@@",
"scope": "resource"
},
"rm-comments.keep": {
"type": [
"object",
"boolean"
],
"description": "define named regular expressions that test comments to keep, if set to false override User/Workspace setting. Object key: languageId or \"all\"",
"scope": "resource",
"default": {},
"patternProperties": {
"^.+$": {
"type": [
"object",
"boolean"
],
"description": "for languageId or \"all\": named regular expressions that test comments to keep, if set to false override User/Workspace setting for this languageId or \"all\"",
"patternProperties": {
"^.+$": {
"type": [
"object",
"boolean"
],
"description": "named regular expressions that test comments to keep, if set to false override User/Workspace setting for this named regex",
"properties": {
"regex": {
"type": "string",
"description": "regular expression to search for in the comment text"
},
"flags": {
"type": "string",
"description": "(Optional) string with the regex flags \"i\" (default: \"\")"
}
}
}
}
}
}
}
}
},
"commands": [
{
"command": "rm-comments.extractStrings",
"title": "Extract Strings to a file",
"category": "Comments"
},
{
"command": "rm-comments.ignoreKeepCommentSetting",
"title": "Ignore any \"rm-comments.keep\" setting. For next removal only.",
"category": "Comments"
},
{
"command": "rm-comments.markJSDocStringAsComment",
"title": "Mark JSDOC String as comment. For next removal only.",
"category": "Comments"
},
{
"command": "rm-comments.removeAllComments",
"title": "Remove All Comments",
"category": "Comments"
},
{
"command": "rm-comments.removeAllCommentsWithPrefix",
"title": "Remove All Comments that have a user entered prefix",
"category": "Comments"
},
{
"command": "rm-comments.removeSingleLineComments",
"title": "Remove All Single Line Comments",
"category": "Comments"
},
{
"command": "rm-comments.removeMultilineComments",
"title": "Remove All Multiline Comments",
"category": "Comments"
}
]
},
"homepage": "https://github.com/NazmusSayad/code.rm-comments",
"bugs": "https://github.com/NazmusSayad/code.rm-comments/issues",
"repository": {
"type": "git",
"url": "https://github.com/NazmusSayad/code.rm-comments"
},
"devDependencies": {
"@types/assert": "^1.5.11",
"@types/node": "^25.2.3",
"@types/vscode": "^1.100.0",
"@vscode/vsce": "^3.7.1",
"tsdown": "^0.20.3",
"typescript": "^5.9.3",
"vitest": "^4.0.18"
},
"dependencies": {
"tslib": "^2.8.1"
}
}