-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
204 lines (204 loc) · 5.8 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
{
"name": "pawn-community-tool",
"displayName": "Pawn Community Tool",
"description": "Pawn Tool for Developing Scripts for Indian Ocean Roleplay™",
"version": "1.91.0",
"publisher": "IORP",
"engines": {
"vscode": "^1.30.0"
},
"bugs": {
"url": "https://github.com/oceanroleplay/pawn-community-tool/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/oceanroleplay/pawn-community-tool.git"
},
"icon": "iorp.png",
"categories": [
"Programming Languages",
"Formatters",
"Snippets",
"Other"
],
"keywords": [
"iorp",
"India",
"multiplayer",
"Ocean",
"Roleplay",
"samp",
"vscode",
"pawn",
"language",
"new"
],
"activationEvents": [
"onCommand:pawn-community-tool.initScanDir",
"onCommand:pawn-community-tool.pawnignore",
"onCommand:pawn-community-tool.initTask",
"onCommand:pawn-community-tool.seq-num",
"onLanguage:pawn",
"onLanguage:Pawn"
],
"main": "./out/client/extension.js",
"contributes": {
"languages": [
{
"id": "pawn",
"aliases": [
"Pawn",
"pawn"
],
"extensions": [
".pawnignore",
".p",
".pwn",
".inc"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "pawn",
"scopeName": "source.pawn",
"path": "./syntaxes/Pawn.tmLanguage"
}
],
"configuration": {
"id": "pawn",
"type": "object",
"title": "Pawn Community Tool",
"properties": {
"pawn.language.brace_style": {
"type": "string",
"default": "preserve-inline",
"description": "Format keep your code in your choosen brace style",
"enum": [
"preserve-inline",
"collapse",
"expand",
"end-expand",
"none"
]
},
"pawn.language.allowDefine": {
"type": "boolean",
"default": "true",
"description": "Allow to collect #define for auto completion"
},
"pawn.language.allowDefineFunction": {
"type": "boolean",
"default": "true",
"description": "Allow to collect #define (function style) for auto completion"
},
"pawn.language.allowFunction": {
"type": "boolean",
"default": "true",
"description": "Allow to collect functions for auto completion"
},
"pawn.language.allowNatives": {
"type": "boolean",
"default": "true",
"description": "Allow to collect natives for auto completion"
},
"pawn.language.allowWords": {
"type": "boolean",
"default": "true",
"description": "Allow to collect words from document for auto completion"
},
"pawn.language.allowCustomSnip": {
"type": "boolean",
"default": "true",
"description": "Allow to collect #defineSnip for auto completion"
},
"pawn.language.startRegion": {
"type": "string",
"default": "(//#region)|(/\\*)|\\{|#if",
"description": "regex expression for start of region\nproceed with caution, you can break this so leave default if you don't know about this."
},
"pawn.language.endRegion": {
"type": "string",
"default": "(//#endregion)|(\\*/)|\\}|#endif",
"description": "regex expression for end of region\nproceed with caution, you can break this so leave default if you don't know about this."
},
"pawn.language.showLastLineOfRegion": {
"type": "boolean",
"default": "true",
"description": "enable to view last line of region section when it's collaped, if you select false then only first line will be visible."
}
}
},
"problemMatchers": [
{
"name": "pawncc",
"owner": "pawn",
"fileLocation": [
"relative",
"${workspaceRoot}/gamemodes"
],
"pattern": {
"regexp": "^(.*?)\\(([0-9]*)[- 0-9]*\\) \\: (fatal error|error|warning) [0-9]*\\: (.*)$",
"file": 1,
"location": 2,
"severity": 3,
"message": 4
}
}
],
"commands": [
{
"command": "pawn-community-tool.initScanDir",
"title": "Pawn Community Tool: Initialize .pawnignore"
},
{
"command": "pawn-community-tool.initTask",
"title": "Pawn Community Tool: Initialize Pawn Build Task"
},
{
"command": "pawn-community-tool.seq-num",
"title": "Pawn Community Tool: Generate Number Sequance"
},
{
"command": "pawn-community-tool.pawnignore",
"title": "Add to .pawnignore"
},
{
"command": "pawn-community-tool.reloadDefs",
"title": "Pawn Community Tool: reload definitions"
}
],
"menus": {
"explorer/context": [
{
"command": "pawn-community-tool.pawnignore",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"publish": "vsce publish minor"
},
"dependencies": {
"@types/vscode": "^1.70.0",
"js-beautify": "^1.14.5",
"vscode-languageclient": "^8.0.2",
"vscode-languageserver": "^8.0.2",
"vscode-languageserver-textdocument": "^1.0.5"
},
"devDependencies": {
"@types/js-beautify": "^1.13.3",
"@types/node": "^18.7.6",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"eslint": "^8.22.0",
"typescript": "^4.7.4"
}
}