forked from Parth2031/Colorful-Comments
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
267 lines (267 loc) · 8.1 KB
/
package.json
File metadata and controls
267 lines (267 loc) · 8.1 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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
{
"name": "colorful-comments-refreshed",
"displayName": "Colorful Comments Refreshed",
"icon": "icon.png",
"description": "Improve and Enhance your code and make it attractive by adding Colorful Comments",
"version": "0.8.0",
"publisher": "AllemandInstable",
"author": {
"name": "Allemand Instable"
},
"homepage": "https://github.com/allemand-instable/colorful-comments-refreshed/master/README.md",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/allemand-instable/colorful-comments-refreshed"
},
"bugs": "https://github.com/allemand-instable/colorful-comments-refreshed/issues",
"engines": {
"vscode": "^1.98.0"
},
"categories": [
"Formatters"
],
"extensionKind": [
"ui",
"workspace"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact",
"onLanguage:apex",
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:csharp",
"onLanguage:objective-c",
"onLanguage:objective-cpp",
"onLanguage:dart",
"onLanguage:flax",
"onLanguage:fsharp",
"onLanguage:go",
"onLanguage:al",
"onLanguage:groovy",
"onLanguage:haxe",
"onLanguage:java",
"onLanguage:jsonc",
"onLanguage:kotlin",
"onLanguage:less",
"onLanguage:pascal",
"onLanguage:objectpascal",
"onLanguage:php",
"onLanguage:rust",
"onLanguage:scala",
"onLanguage:scss",
"onLanguage:stylus",
"onLanguage:swift",
"onLanguage:verilog",
"onLanguage:vue",
"onLanguage:css",
"onLanguage:coffeescript",
"onLanguage:dockerfile",
"onLanguage:gdscript",
"onLanguage:graphql",
"onLanguage:julia",
"onLanguage:makefile",
"onLanguage:perl",
"onLanguage:perl6",
"onLanguage:puppet",
"onLanguage:r",
"onLanguage:ruby",
"onLanguage:shellscript",
"onLanguage:yaml",
"onLanguage:python",
"onLanguage:elixir",
"onLanguage:tcl",
"onLanguage:nim",
"onLanguage:powershell",
"onLanguage:ada",
"onLanguage:hive-sql",
"onLanguage:pig",
"onLanguage:plsql",
"onLanguage:sql",
"onLanguage:lua",
"onLanguage:elm",
"onLanguage:haskell",
"onLanguage:diagram",
"onLanguage:vb",
"onLanguage:bibtex",
"onLanguage:erlang",
"onLanguage:latex",
"onLanguage:matlab",
"onLanguage:clojure",
"onLanguage:racket",
"onLanguage:lisp",
"onLanguage:html",
"onLanguage:markdown",
"onLanguage:xml",
"onLanguage:terraform",
"onLanguage:COBOL",
"onLanguage:fortran-modern",
"onLanguage:SAS",
"onLanguage:sas",
"onLanguage:stata",
"onLanguage:twig",
"onLanguage:genstat",
"onLanguage:cfml",
"onLanguage:asciidoc",
"onLanguage:default",
"onLanguage:astro",
"onLanguage:svelte",
"onLanguage:rmd",
"onLanguage:json",
"onLanguage:sass",
"onLanguage:md",
"onLanguage:mojo",
"onLanguage:markdown_latex_combined",
"onLanguage:applescript",
"onLanguage:ahk",
"onLanguage:ahk2",
"onLanguage:gsc",
"onLanguage:plaintext",
"onLanguage:shaderlab",
"onLanguage:d",
"onLanguage:brightscript",
"onLanguage:qlik",
"onLanguage:systemverilog",
"onLanguage:vhdl",
"onLanguage:ignore",
"onLanguage:bat",
"onLanguage:kdl",
"onLanguage:wolfram",
"onLanguage:nix",
"onLanguage:toml",
"onLanguage:snakemake",
"onNotebook:jupyter-notebook",
"onNotebook:interactive",
"onNotebook:sas-notebook"
],
"galleryBanner": {
"color": "#e3f4ff",
"theme": "light"
},
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Colorful Comments Refreshed Configuration",
"properties": {
"colorful-comments-refreshed.multilineComments": {
"type": "boolean",
"description": "Whether the multiline comment highlighter should be active",
"default": true
},
"colorful-comments-refreshed.highlightPlainText": {
"type": "boolean",
"description": "Whether the plaintext comment highlighter should be active",
"default": false
},
"colorful-comments-refreshed.tags": {
"type": "array",
"description": "Tags which are used to color the comments. Changes require a restart of VS Code to take effect. Set 'isRegex' to true to use regex patterns instead of literal strings.",
"items": {
"type": "object",
"properties": {
"tag": {
"type": "string",
"description": "The tag text or regex pattern to match"
},
"color": {
"type": "string",
"description": "The color to apply to the matched comment"
},
"strikethrough": {
"type": "boolean",
"description": "Whether to apply strikethrough styling"
},
"backgroundColor": {
"type": "string",
"description": "The background color to apply"
},
"isRegex": {
"type": "boolean",
"description": "When true, the tag is treated as a regex pattern. Use capture group (parentheses) to color only the captured portion. If no capture group is present, the entire match is colored.",
"default": false
}
}
},
"default": [
{
"tag": "!",
"color": "#FF2D00",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "?",
"color": "#0076FF",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "//",
"color": "#474747",
"strikethrough": true,
"backgroundColor": "transparent"
},
{
"tag": "^",
"color": "#EAF622",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "*",
"color": "#28FF00",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "&",
"color": "#FF06A0",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "~",
"color": "#BE00FF",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "todo",
"color": "#FF8C00",
"strikethrough": false,
"backgroundColor": "transparent"
}
]
}
}
}
},
"scripts": {
"gen-pkg": "command -v just >/dev/null 2>&1 && just gen-pkg || python3 scripts/convert_packages_yaml.py package.yaml package.json",
"gen-ts": "command -v just >/dev/null 2>&1 && just gen-ts || python3 scripts/gen_ts_language_config.py",
"gen-implemented-languages": "python3 scripts/gen_implemented_languages.py package.yaml implemented_languages.md",
"compile": "command -v just >/dev/null 2>&1 && just compile || (python3 scripts/convert_packages_yaml.py package.yaml package.json && python3 scripts/gen_ts_language_config.py && python3 scripts/gen_implemented_languages.py package.yaml implemented_languages.md && tsc -p ./)",
"vscode:prepublish": "npm run compile",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^8.2.3",
"@types/node": "^14.18.63",
"@types/vscode": "^1.98.0",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^2.32.0",
"eslint": "^7.32.0",
"glob": "^7.2.3",
"mocha": "^8.4.0",
"typescript": "^5.8.2"
}
}