-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
107 lines (107 loc) · 3.69 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
{
"name": "vscode-c3",
"displayName": "C3 Language Support for VSCode",
"description": "C3 Language Support for VSCode - Syntax Highlighting and Code Snippets",
"publisher": "c3lang",
"repository": "https://github.com/c3lang/vscode-c3.git",
"version": "0.1.0",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"icon": "images/icon.png",
"license": "MIT",
"contributes": {
"languages": [
{
"id": "c3",
"aliases": [
"C3",
"c3"
],
"extensions": [
"c3",
"c3i",
"c3t"
],
"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": {
"c3.lsp.enable": {
"type": "boolean",
"default": false,
"description": "Enables the language server"
},
"c3.lsp.path": {
"type": "string",
"default": "c3-lsp",
"markdownDescription": "The path to **c3-lsp** binary"
},
"c3.lsp.debug": {
"type": "boolean",
"default": true,
"markdownDescription": "Enables debug information logging"
},
"c3.lsp.log.path": {
"type": "string",
"default": "",
"description": "Saves log to specified file"
},
"c3.lsp.sendCrashReports": {
"type": "boolean",
"default": false,
"markdownDescription": "Sends crash reports to server to help fixing bugs."
},
"c3.lsp.version": {
"type": "string",
"default": "",
"markdownDescription": "Specify C3 language version. If omited, LSP will use the last version it supports."
},
"c3.lsp.diagnosticsDelay": {
"type": "integer",
"default": 2000,
"markdownDescription": "Delay calculation of code diagnostics after modifications in source. In milliseconds, default 2000 ms."
},
"c3.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."
}
}
}
},
"main": "./dist/extension.js",
"dependencies": {
"vscode-jsonrpc": "^8.2.1",
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"esbuild": "0.23.0",
"js-yaml": "^4.1.0"
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./extension.js --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"build-syntax": "node ./build_syntax.js"
}
}