-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
193 lines (193 loc) · 5.19 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
{
"name": "chapel-vscode",
"displayName": "Chapel Language",
"description": "A collection of development tools for programming in Chapel",
"version": "0.0.5",
"engines": {
"vscode": "^1.70.0"
},
"publisher": "chpl-hpe",
"author": {
"name": "Chapel"
},
"categories": [
"Programming Languages",
"Linters",
"Snippets",
"Other"
],
"keywords": [
"chapel"
],
"activationEvents": [],
"main": "./out/extension.js",
"icon": "./icons/chapel.png",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/chapel-lang/chapel-vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/chapel-lang/chapel-vscode.git"
},
"contributes": {
"languages": [
{
"id": "chapel",
"aliases": [
"chapel"
],
"extensions": [
".chpl"
],
"configuration": "./chapel-language-configuration.json",
"icon": {
"light": "./icons/chapel.png",
"dark": "./icons/chapel.png"
}
},
{
"id": "chapel-ast",
"aliases": [
"chapel-ast"
],
"extensions": [
".ast"
],
"configuration": "./chapel-ast-language-configuration.json"
}
],
"breakpoints": [
{
"language": "chapel"
}
],
"snippets": [
{
"language": "chapel",
"path": "./snippets/chapel.json"
}
],
"grammars": [
{
"language": "chapel",
"scopeName": "source.chapel",
"path": "./syntaxes/chapel.tmLanguage.json"
},
{
"language": "chapel-ast",
"scopeName": "source.chapelAst",
"path": "./syntaxes/chapel-ast.tmLanguage.json"
}
],
"commands": [
{
"command": "chapel.findChplHome",
"title": "Find CHPL_HOME",
"category": "chapel"
},
{
"command": "chplcheck.restart",
"title": "Restart chplcheck",
"category": "chapel"
},
{
"command": "chpl-language-server.restart",
"title": "Restart chpl-language-server",
"category": "chapel"
}
],
"activationEvents": [
"onLanguage:chapel",
"onLanguage:chapel-ast"
],
"configuration": [
{
"type": "object",
"title": "Chapel Language Support",
"properties": {
"chapel.CHPL_HOME": {
"scope": "window",
"type": "string",
"description": "The path to CHPL_HOME. If not provided, the extension may be able to find it automatically if `chpl`, `chplcheck`, and `chpl-language-server` are in PATH."
},
"chapel.CHPL_DEVELOPER": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "CHPL_DEVELOPER"
},
"chapel.chplcheck.enable": {
"scope": "window",
"type": "boolean",
"default": true,
"description": "Enable chplcheck"
},
"chapel.chplcheck.path": {
"scope": "window",
"type": "string",
"description": "An explicit path to the chplcheck executable. If not provided, the extension will look for chplcheck in PATH and in CHPL_HOME"
},
"chapel.chplcheck.args": {
"scope": "window",
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Extra arguments to pass to chplcheck"
},
"chapel.chpl-language-server.enable": {
"scope": "window",
"type": "boolean",
"default": true,
"description": "Enable chpl-language-server"
},
"chapel.chpl-language-server.path": {
"scope": "window",
"type": "string",
"description": "An explicit path to the chpl-language-server executable. If not provided, the extension will look for chpl-language-server in PATH and in CHPL_HOME"
},
"chapel.chpl-language-server.resolver": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Enable the dyno resover"
},
"chapel.chpl-language-server.args": {
"scope": "window",
"type": "array",
"items": {
"type": "string"
},
"description": "Extra arguments to pass to chpl-language-server"
}
}
}
],
"configurationDefaults": {
"[chapel]": {
"editor.semanticHighlighting.enabled": true
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/node": "18.x",
"@types/vscode": "^1.70.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"eslint": "^8.52.0",
"typescript": "^5.2.2"
},
"dependencies": {
"vscode-languageclient": "^8.0.2"
}
}