-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
170 lines (170 loc) · 4.5 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
{
"name": "erlang",
"displayName": "Erlang",
"description": "Erlang language server",
"icon": "icon.png",
"license": "MIT",
"version": "0.1.10",
"publisher": "vladdu",
"repository": {
"type": "git",
"url": "https://github.com/vladdu/vscode-erlang-lsp.git"
},
"engines": {
"vscode": "^1.34.0"
},
"categories": [
"Programming Languages",
"Linters",
"Extension Packs"
],
"keywords": [
"erlang"
],
"activationEvents": [
"onView:erlangOTPlibs",
"onLanguage:erlang"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "erlang configuration",
"properties": {
"erlang.server.maxNumberOfProblems": {
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"erlang.runtime.location": {
"type": "string",
"default": "",
"description": "Location of erl/escript binaries ($ERL_TOP/bin). Empty value means to use $PATH. This value is used to run the language server.",
"title": "Path to Erlang 20+ binaries"
},
"erlang.runtime": {
"type": "string",
"default": "",
"description": "Location of Erlang runtime for project.",
"title": "Path to Erlang runtime for project"
},
"erlang.runtimes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A short name for the runtime (the version number works well)."
},
"path": {
"type": "string",
"description": "Path to installation ($ERL_TOP)"
}
}
},
"default": [],
"description": "Location of known Erlang runtimes. Used by projects to show source of runtime libraries.",
"title": "Installed Erlang runtimes"
},
"erlang.rebar.useLegacy": {
"type": "boolean",
"default": "false",
"description": "Use legacy rebar instead of rebar3. Needs to be available in $PATH.",
"title": "Use legacy rebar instead of rebar3?"
},
"erlang.server.debug": {
"type": "boolean",
"default": "false",
"description": "Print debug traces from server.",
"title": "Activate debug printouts from server"
}
}
},
"languages": [
{
"id": "erlang",
"aliases": [
"Erlang",
"erlang"
],
"extensions": [
".erl",
".hrl",
".yrl",
".escript",
".app.src",
"rebar.config"
],
"configuration": "./erlang.configuration.json"
}
],
"grammars": [
{
"language": "erlang",
"scopeName": "source.erlang",
"path": "./syntaxes/erlang.tmLanguage"
}
],
"commands": [
{
"command": "erlang.detect.runtimes",
"title": "Change runtime",
"category": "Erlang"
},
{
"command": "erlang.select.runtime",
"title": "Select runtime",
"category": "Erlang"
}
],
"keybindings": [
{
"command": "editor.action.formatDocument",
"key": "ctrl+shift+f",
"when": "editorTextFocus && !editorReadonly && editorLangId == erlang"
}
],
"views": {
"explorer": [
{
"id": "erlangOTPlibs",
"name": "OTP libs"
}
]
},
"jsonValidation": [
{
"fileMatch": "erlang.config.json",
"url": "./lib/erlang.config.schema.json"
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./ && ./install_server",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"dependencies": {
"child-process-promise": "^2.2.1",
"denodeify": "^1.2.1",
"expand-home-dir": "^0.0.3",
"portfinder": "^1.0.28",
"rc": "^1.2.8",
"socket-retry-connect": "^0.0.1",
"vscode-languageclient": "^5.2.1",
"which": "^1.3.1"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.19.4",
"@types/which": "^1.3.2",
"mocha": "^6.2.3",
"tslint": "^5.20.1",
"typescript": "^3.9.7",
"typings": "^2.1.1",
"vsce": "^1.81.1",
"vscode": "^1.1.37"
}
}