-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 5.07 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
{
"name": "thrift-language-server",
"description": "A thrift language server",
"author": "[email protected]",
"icon": "logo.png",
"galleryBanner": {
"color": "#22172A",
"theme": "dark"
},
"license": "MIT",
"version": "1.0.9",
"repository": {
"type": "git",
"url": "https://github.com/joyme123/thriftls-vscode"
},
"bugs": {
"url": "https://github.com/joyme123/thriftls-vscode/issues"
},
"publisher": "jiangpengfei",
"categories": [
"Programming Languages",
"Formatters",
"Linters",
"Other"
],
"keywords": [
"thrift",
"lsp"
],
"engines": {
"vscode": "^1.63.0"
},
"activationEvents": [
"onLanguage:thrift"
],
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "thrift",
"aliases": [
"Thrift",
"thrift"
],
"extensions": [
".thrift"
]
}
],
"grammars": [
{
"language": "thrift",
"scopeName": "source.thrift",
"path": "./client/out/syntaxes/thrift.tmGrammar.json"
}
],
"configuration": {
"type": "object",
"title": "thrift language server configuration",
"properties": {
"thriftls.fmt.align": {
"scope": "resource",
"order": 0,
"type": "string",
"default": "field",
"enum": [
"field",
"assign",
"disable"
],
"description": "format align type"
},
"thriftls.fmt.indent.type": {
"scope": "resource",
"type": "string",
"default": "space",
"order": 1,
"enum": [
"space",
"tab"
],
"description": "indent type"
},
"thriftls.fmt.indent.num": {
"scope": "resource",
"type": "integer",
"default": 4,
"order": 2,
"description": "indent num"
},
"thriftls.fmt.fieldLineComma": {
"scope": "resource",
"type": "string",
"default": "disable",
"enum": [
"add",
"remove",
"disable"
],
"order": 3,
"description": "add or remove comma at the end of field line"
},
"thriftls.trace.server": {
"scope": "window",
"type": "string",
"order": 4,
"enum": [
"off",
"messages",
"verbose"
],
"default": "verbose",
"description": "Traces the communication between VSCode and the language server."
},
"thriftls.updateBehavior": {
"scope": "resource",
"type": "string",
"order": 5,
"enum": [
"never-check",
"keep-up-to-date",
"prompt",
"weekly"
],
"default": "keep-up-to-date",
"description": "Update behavior for thriftls binanry version"
},
"thriftls.binaryPath": {
"scope": "resource",
"type": "string",
"order": 6,
"default": "",
"description": "The thriftls binary path will be downloaded when the extension starts. If the download fails due to network issues, you can download the binary manually from https://github.com/joyme123/thrift-ls/releases, and then set the binary path here. For example: /home/user1/xxxx/thriftls-linux-amd64"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b && cp -r ./client/syntaxes client/out",
"watch": "tsc -b -w",
"lint": "eslint ./client/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd .."
},
"devDependencies": {
"@types/mocha": "^5.2.0",
"@types/node": "^16.18.34",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"js-yaml": "^4.1.0",
"typescript": "^5.1.3"
},
"dependencies": {
"vsce": "^2.15.0"
}
}