-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
114 lines (114 loc) · 2.79 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
{
"name": "c3-vscode",
"displayName": "C3",
"description": "C3 language server",
"version": "0.3.4",
"publisher": "tonios2",
"activationEvents": [
"onLanguage:c3"
],
"icon": "icon.png",
"categories": [
"Programming Languages"
],
"repository": {
"type": "git",
"url": "https://github.com/tonis2/c3-vscode"
},
"contributes": {
"languages": [
{
"id": "c3",
"aliases": [
"C3",
"c3"
],
"extensions": [
"c3",
"c3i"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "c3",
"scopeName": "source.c3",
"path": "./syntaxes/c3.tmLanguage.json"
}
],
"snippets": [
{
"language": "c3",
"path": "./snippets/snippets.json"
}
],
"configuration": {
"title": "Language Server",
"properties": {
"c3lspclient.lsp.enable": {
"type": "boolean",
"default": true,
"description": "Enables the language server"
},
"c3lspclient.lsp.path": {
"type": "string",
"default": null,
"markdownDescription": "The path to **c3lsp** binary"
},
"c3.lsp.debug": {
"type": "boolean",
"default": true,
"markdownDescription": "Enables debug information logging"
},
"c3.lsp.sendCrashReports": {
"type": "boolean",
"default": true,
"markdownDescription": "Sends crash reports to server to help fixing bugs."
},
"c3lspclient.lsp.diagnosticsDelay": {
"type": "integer",
"default": 2000,
"markdownDescription": "Delay calculation of code diagnostics after modifications in source. In milliseconds, default 2000 ms."
},
"c3.lsp.log.path": {
"type": "string",
"default": null,
"description": "Saves log to specified file"
},
"c3.lsp.c3.version": {
"type": "string",
"default": null,
"markdownDescription": "Specify C3 language version. If omited, LSP will use the last version it supports."
},
"c3lspclient.lsp.c3.path": {
"type": "string",
"default": null,
"markdownDescription": "Path to C3C binary. Use it if not defined already in your PATH environment variable or if you want to use a different one."
},
"c3lspclient.lsp.c3.stdlibPath": {
"type": "string",
"default": null,
"markdownDescription": "Path to C3C stdlib."
}
}
}
},
"main": "./dist/extension.js",
"engines": {
"vscode": "^1.75.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.1",
"@types/vscode": "^1.75.1",
"vscode-jsonrpc": "^8.2.1"
},
"devDependencies": {
"esbuild": "^0.21.3"
},
"scripts": {
"build": "npm run esbuild-base -- --minify && vsce package",
"esbuild-base": "esbuild ./extension.js --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap"
}
}