-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
226 lines (226 loc) · 5.95 KB
/
package.json
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
{
"name": "pawn-painter",
"displayName": "PAWN Painter",
"version": "2.0.1",
"description": "Colour picker for open.mp and SA-MP",
"publisher": "itsneufox",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#C80000",
"theme": "dark"
},
"author": {
"name": "itsneufox"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/itsneufox/PAWN-Painter-VSC.git"
},
"bugs": {
"url": "https://github.com/itsneufox/PAWN-Painter-VSC/issues",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"keywords": [
"pawn",
"color",
"colour",
"highlighter",
"syntax",
"open.mp",
"omp",
"open multiplayer",
"openmultiplayer",
"samp",
"vscode",
"language",
"sa:mp",
"sa-mp"
],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts"
},
"activationEvents": [
"onLanguage:pawn"
],
"contributes": {
"configurationDefaults": {
"[pawn]": {
"editor.colorDecorators": true
}
},
"languages": [
{
"id": "pawn",
"extensions": [
".pwn",
".inc",
".p",
".pawno"
],
"aliases": [
"PAWN",
"pawn"
]
}
],
"commands": [
{
"command": "pawnpainter.toggleHexColorHighlight",
"title": "Toggle Hex Colour Highlighting",
"category": "PAWN Painter"
},
{
"command": "pawnpainter.toggleInlineColours",
"title": "Toggle Inline Colour Highlighting",
"category": "PAWN Painter"
},
{
"command": "pawnpainter.toggleGameTextColorPicker",
"title": "Toggle GameText Colour Preview",
"category": "PAWN Painter"
},
{
"command": "pawnpainter.toggleNormalColorPicker",
"title": "Toggle Normal Colour Picker",
"category": "PAWN Painter"
},
{
"command": "pawnpainter.ignoreLine",
"title": "Ignore Colour On Selected Line(s)",
"category": "PAWN Painter"
},
{
"command": "pawnpainter.unignoreLine",
"title": "Restore Colour To Selected Line(s)",
"category": "PAWN Painter"
},
{
"command": "pawnpainter.clearIgnoredLines",
"title": "Clear All Ignored Lines",
"category": "PAWN Painter"
},
{
"command": "pawnpainter.showIgnoredLines",
"title": "History Of All Ignored Lines",
"category": "PAWN Painter"
}
],
"menus": {
"editor/context": [
{
"command": "pawnpainter.ignoreLine",
"group": "pawnpainter",
"when": "editorTextFocus && resourceExtname =~ /\\.(pwn|inc|p|pawno)$/"
},
{
"command": "pawnpainter.unignoreLine",
"group": "pawnpainter",
"when": "editorTextFocus && resourceExtname =~ /\\.(pwn|inc|p|pawno)$/"
},
{
"command": "pawnpainter.showIgnoredLines",
"group": "pawnpainter",
"when": "editorTextFocus && resourceExtname =~ /\\.(pwn|inc|p|pawno)$/"
}
]
},
"configuration": {
"title": "PAWN Painter",
"properties": {
"pawnpainter.general.enableColorPicker": {
"type": "boolean",
"default": true,
"description": "Enable the VS Code colour picker for all supported colour formats.",
"order": 1
},
"pawnpainter.hex.enabled": {
"type": "boolean",
"default": true,
"description": "Enable highlighting for hexadecimal colour codes (0xRRGGBB, 0xRRGGBBAA).",
"order": 2
},
"pawnpainter.hex.style": {
"type": "string",
"enum": [
"text",
"underline",
"background"
],
"default": "underline",
"description": "Choose how hex colour codes should be displayed.",
"order": 3
},
"pawnpainter.hex.showAlphaWarnings": {
"type": "boolean",
"default": true,
"description": "Show warnings for colours with alpha value of 00.",
"order": 4
},
"pawnpainter.gameText.enabled": {
"type": "boolean",
"default": true,
"description": "Enable colour preview for GameText colour codes (~r~, ~g~, ~b~, etc).",
"order": 5
},
"pawnpainter.gameText.style": {
"type": "string",
"enum": [
"text",
"underline",
"background"
],
"default": "text",
"description": "Choose how GameText colours should be displayed.",
"order": 6
},
"pawnpainter.inlineText.enabled": {
"type": "boolean",
"default": true,
"description": "Enable colour highlighting for inline colours ({RRGGBB}).",
"order": 7
},
"pawnpainter.inlineText.codeStyle": {
"type": "string",
"enum": [
"text",
"underline",
"background"
],
"default": "underline",
"description": "Choose how the inline colour code itself ({RRGGBB}) should be displayed.",
"order": 8
},
"pawnpainter.inlineText.textStyle": {
"type": "string",
"enum": [
"text",
"underline",
"background"
],
"default": "text",
"description": "Choose how text following an inline colour should be displayed.",
"order": 9
}
}
}
},
"devDependencies": {
"@types/node": "^22.8.7",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"typescript": "^5.6.3"
}
}