-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
151 lines (151 loc) · 4.63 KB
/
Copy pathpackage.json
File metadata and controls
151 lines (151 loc) · 4.63 KB
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
{
"name": "ridl-vscode",
"displayName": "webrpc RIDL",
"description": "Syntax highlighting and language server support for webrpc RIDL.",
"icon": "assets/icon.png",
"version": "0.4.0",
"publisher": "webrpc-io",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/webrpc/ridl-vscode.git"
},
"keywords": [
"ridl",
"webrpc",
"rpc",
"idl",
"language-server",
"syntax-highlighting"
],
"engines": {
"vscode": "^1.90.0"
},
"extensionKind": [
"workspace"
],
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:ridl",
"onCommand:ridl.installLanguageServer",
"onCommand:ridl.updateLanguageServer",
"onCommand:ridl.restartLanguageServer",
"onCommand:ridl.showReferences"
],
"main": "./extension.js",
"scripts": {
"test": "node --test ./test/serverInstaller.test.js ./test/commandAdapters.test.js ./test/extension.test.js ./test/syntaxGrammar.test.js && node --check ./serverInstaller.js && node --check ./commandAdapters.js && node --check ./extension.js",
"package": "npx @vscode/vsce package --no-yarn",
"preinstall:local": "npm run package",
"install:local": "node -e \"const pkg=require('./package.json'); require('child_process').execFileSync('code',['--install-extension',pkg.name + '-' + pkg.version + '.vsix','--force'],{stdio:'inherit'});\"",
"publish:vsce": "npx @vscode/vsce publish --no-yarn"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"contributes": {
"languages": [
{
"id": "ridl",
"aliases": [
"RIDL",
"ridl"
],
"extensions": [
".ridl"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "ridl",
"scopeName": "source.ridl",
"path": "./syntaxes/ridl.tmLanguage.json"
}
],
"commands": [
{
"command": "ridl.installLanguageServer",
"title": "RIDL: Install Language Server"
},
{
"command": "ridl.updateLanguageServer",
"title": "RIDL: Update Language Server"
},
{
"command": "ridl.restartLanguageServer",
"title": "RIDL: Restart Language Server"
},
{
"command": "ridl.showReferences",
"title": "RIDL: Show References"
}
],
"menus": {
"editor/title": [
{
"command": "ridl.restartLanguageServer",
"when": "resourceLangId == ridl",
"group": "navigation@100"
}
]
},
"configuration": {
"title": "RIDL",
"properties": {
"ridl.languageServer.path": {
"type": "string",
"default": "",
"markdownDescription": "Absolute path to the `ridl-lsp` binary. If set, the extension uses this instead of the managed GOPATH/bin binary."
},
"ridl.languageServer.importPath": {
"type": "string",
"default": "github.com/webrpc/ridl-lsp/cmd/ridl-lsp",
"markdownDescription": "Go import path used for managed `go install` updates."
},
"ridl.languageServer.promptToInstall": {
"type": "boolean",
"default": true,
"markdownDescription": "Prompt to install `ridl-lsp` (via Homebrew or `go install`) when RIDL files are opened and no binary is found."
},
"ridl.languageServer.promptToUpdate": {
"type": "boolean",
"default": true,
"markdownDescription": "Prompt to update `ridl-lsp` when a newer recommended version is available."
},
"ridl.languageServer.logLevel": {
"type": "string",
"enum": [
"",
"debug",
"info",
"warn",
"error"
],
"enumDescriptions": [
"Use the server's default level (info).",
"Per-request logs (method, latency) plus everything below.",
"Default operational logging.",
"Warnings and errors only.",
"Errors only."
],
"default": "",
"markdownDescription": "Sets `RIDL_LSP_LOG_LEVEL` for the `ridl-lsp` server process. Use `debug` to log every request's method and latency to the **RIDL Language Server** output channel. Leave empty to use the server default."
},
"ridl.languageServer.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"markdownDescription": "Trace level forwarded to the RIDL language client."
}
}
}
}
}