forked from rsKliPPy/amxxpawn-language
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 5.81 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
{
"name": "amxxpawn-language",
"displayName": "AMXXPawn Language",
"description": "AMXXPawn Language Service",
"version": "0.7.4",
"publisher": "KliPPy",
"license": "GPL-3.0",
"icon": "images/extension-logo.png",
"galleryBanner": {
"theme": "dark",
"color": "#251654"
},
"author": {
"name": "KliPPy",
"url": "https://forums.alliedmods.net/member.php?u=228599"
},
"repository": {
"type": "git",
"url": "https://github.com/rsKliPPy/amxxpawn-language"
},
"bugs": {
"url": "https://github.com/rsKliPPy/amxxpawn-language/issues"
},
"keywords": [
"amxx",
"amxmodx",
"pawn",
"alliedmodders"
],
"engines": {
"vscode": "^1.11.0"
},
"categories": [
"Languages",
"Linters",
"Snippets"
],
"activationEvents": [
"onLanguage:amxxpawn"
],
"main": "./build/client/client",
"contributes": {
"languages": [
{
"id": "amxxpawn",
"aliases": [
"AMXXPawn",
"amxxpawn",
"AMXX Pawn"
],
"extensions": [
".sma",
".inc"
],
"firstLine": "#include\\s+[<\"]?\\s*amxmodx\\s*[>\"]?",
"configuration": "./language-configuration.json"
},
{
"id": "pawndoc",
"aliases": [
"PAWNDoc",
"PAWN-Doc",
"PAWN Doc"
]
}
],
"grammars": [
{
"language": "amxxpawn",
"scopeName": "source.amxxpawn",
"path": "./syntaxes/amxxpawn.tmLanguage"
},
{
"language": "pawndoc",
"scopeName": "text.pawndoc",
"path": "./syntaxes/pawndoc.json",
"injectTo": [
"amxxpawn"
]
}
],
"snippets": [
{
"language": "amxxpawn",
"path": "./snippets/amxxpawn.json"
}
],
"configuration": {
"id": "amxxpawn",
"type": "object",
"title": "AMXXPawn Configuration",
"properties": {
"amxxpawn.language.reparseInterval": {
"type": "number",
"default": 1500,
"description": "The shortest allowed interval between two syntax re-parses of the same file"
},
"amxxpawn.language.webApiLinks": {
"type": "boolean",
"default": false,
"description": "Should #include statements that contain filenames from AMXX package link to the Web API Reference"
},
"amxxpawn.compiler.executablePath": {
"type": "string",
"default": "",
"description": "Compiler location"
},
"amxxpawn.compiler.includePaths": {
"type": "array",
"default": [],
"description": "An array of strings containing include paths for the compiler"
},
"amxxpawn.compiler.options": {
"type": "array",
"default": [],
"description": "An array of additional options that should be passed to the compiler"
},
"amxxpawn.compiler.showInfoMessages": {
"type": "boolean",
"default": false,
"description": "Shows additional information like command arguments and exit code when compiling"
},
"amxxpawn.compiler.reformatOutput": {
"type": "boolean",
"default": true,
"description": "Should amxxpc output be reformatted to make it more readable"
},
"amxxpawn.compiler.outputType": {
"type": "string",
"default": "source",
"description": "Where should .amxx files be output. Can be:\n - 'source' (same as input)\n - 'path' (specified in amxxpawn.compiler.outputPath setting)",
"enum": [
"source",
"path"
]
},
"amxxpawn.compiler.outputPath": {
"type": "string",
"default": "",
"description": "If amxx.compiler.outputType is set to 'path', then use this path to output .amxx files"
},
"amxxpawn.compiler.switchToOutput": {
"type": "boolean",
"default": true,
"description": "Switch to 'Output' tab on build"
}
}
},
"commands": [
{
"command": "amxxpawn.compile",
"title": "Compile Plugin",
"category": "AMXXPawn"
},
{
"command": "amxxpawn.compileLocal",
"title": "Compile Plugin Local",
"category": "AMXXPawn"
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "^6.0.40",
"typescript": "^2.0.3",
"vscode": "^1.1.10"
},
"dependencies": {
"vscode-languageclient": "^3.3.0",
"vscode-languageserver": "^3.3.0",
"vscode-uri": "^1.0.1"
}
}