-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
165 lines (165 loc) · 6.04 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
{
"name": "angel-lsp",
"displayName": "AngelScript Language Server",
"description": "VSCode extensions for AngelScript Language Server",
"author": "sashi0034",
"license": "MIT",
"version": "0.3.16",
"repository": {
"type": "git",
"url": "https://github.com/sashi0034/angel-lsp"
},
"publisher": "sashi0034",
"categories": [
"Programming Languages"
],
"keywords": [
"angelscript"
],
"bugs": {
"url": "https://github.com/sashi0034/angel-lsp/issues"
},
"engines": {
"vscode": "^1.75.0"
},
"icon": "icons/angelscript.png",
"activationEvents": [
"onLanguage:angelscript",
"onLanguage:angelscript-predefined",
"workspaceContains:**/*.as"
],
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "angelscript",
"extensions": [
".as"
],
"configuration": "./language-configuration.json",
"aliases": [
"AngelScript"
],
"icon": {
"light": "icons/angelscript.png",
"dark": "icons/angelscript.png"
}
},
{
"id": "angelscript-predefined",
"filenames": [
"as.predefined"
],
"configuration": "./language-configuration.json",
"aliases": [
"AngelScript Predefined"
],
"icon": {
"light": "icons/angelscript-predefined.png",
"dark": "icons/angelscript-predefined.png"
}
}
],
"configurationDefaults": {
"editor.semanticTokenColorCustomizations": {
"rules": {
"builtin": "#00b0e0",
"directive": "#ffe020"
}
}
},
"snippets": [
{
"language": "angelscript",
"path": "./snippets.json"
}
],
"configuration": {
"type": "object",
"title": "AngelScript configuration",
"properties": {
"angelScript.builtinStringTypes": {
"scope": "window",
"type": "array",
"default": [
"string",
"string_t",
"String"
],
"description": "List of built-in string types. These types are considered to be constructable from string literals."
},
"angelScript.builtinArrayType": {
"scope": "window",
"type": "string",
"default": "array",
"description": "Built-in array types. This will handle `Type[]` as `array<Type>`."
},
"angelScript.implicitMutualInclusion": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Project files implicitly include each other (like C# or Java)"
},
"angelScript.hoistEnumParentScope": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Hoist enums to their parents scope."
},
"angelScript.explicitPropertyAccessor": {
"scope": "window",
"type": "boolean",
"default": true,
"description": "Controls whether the 'property' keyword is required for virtual property accessors. When set to true, functions must explicitly use the 'property' keyword to be treated as property accessors. When false, compatibility mode for AngelScript prior to v2.33.1 is enabled, and functions with 'get_' or 'set_' prefixes are automatically treated as property accessors."
},
"angelScript.formatter.maxBlankLines": {
"scope": "window",
"type": "number",
"default": 1,
"description": "Controls the maximum number of blank lines between contents."
},
"angelScript.formatter.indentSpaces": {
"scope": "window",
"type": "number",
"default": 4,
"description": "Controls the number of spaces for indentation."
},
"angelScript.formatter.useTabIndent": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Controls whether to use tabs for indentation instead of spaces."
},
"angelScript.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^18.14.6",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"mocha": "^10.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}