Skip to content

Commit 45b6276

Browse files
committed
0.9.0
1 parent 4cb4e8b commit 45b6276

File tree

5 files changed

+174
-46
lines changed

5 files changed

+174
-46
lines changed

.github/workflows/issue-translator.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
![logo](/res/logo.png)
22
# EmmyLua for VSCode
33

4-
VSCode version of [EmmyLua](https://github.com/EmmyLua/IntelliJ-EmmyLua)
5-
6-
74
QQ交流群:`29850775` (最新版本以及部分视频演示在群文件中下载)
85

96
[![Online EmmyLua Doc](https://img.shields.io/badge/emmy-doc-46BC99.svg?style=flat-square)](https://emmylua.github.io)
@@ -48,10 +45,10 @@ QQ交流群:`29850775` (最新版本以及部分视频演示在群文件中下
4845
**A (中文)**: 方便在其他平台上使用,无需在每个 IDE 中重复配置
4946
**A (English)**: It works across platforms without extra IDE configuration
5047

51-
**Q (中文)**: 为什么用 .NET 重写语言服务器?
52-
**Q (English)**: Why rewrite the language server in .NET?
53-
**A (中文)**: Java 版内存占用较大且有递归崩溃问题,.NET 性能更优
54-
**A (English)**: The Java version used too much memory and had recursion issues; .NET is more optimized
48+
**Q (中文)**: 为什么用 Rust 重写语言服务器?放弃.net和java语言服务器
49+
**Q (English)**: Why rewrite the language server in Rust? and abandon the .NET and Java servers?
50+
**A (中文)**: 因为我想试试 rust
51+
**A (English)**: I want to try rust
5552

5653
**Q (中文)**: 为什么没有文档?
5754
**Q (English)**: Why is there no documentation?

build/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
exports.default = {
22
emmyDebuggerVersion: '1.8.2',
33
emmyDebuggerUrl: 'https://github.com/EmmyLua/EmmyLuaDebugger/releases/download',
4-
newLanguageServerVersion: "0.2.2",
4+
newLanguageServerVersion: "0.2.4",
55
newLanguageServerUrl: "https://github.com/CppCXY/emmylua-analyzer-rust/releases/download"
66
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
},
275275
"emmylua.colors.local": {
276276
"type": "string",
277-
"default": "#66CCFF"
277+
"default": ""
278278
}
279279
}
280280
},

syntaxes/schema.json

Lines changed: 168 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -157,28 +157,174 @@
157157
},
158158
"definitions": {
159159
"DiagnosticCode": {
160-
"type": "string",
161-
"enum": [
162-
"none",
163-
"syntax-error",
164-
"type-not-found",
165-
"missing-return",
166-
"type-not-match",
167-
"missing-parameter",
168-
"inject-field-fail",
169-
"unreachable-code",
170-
"unused",
171-
"undefined-global",
172-
"need-import",
173-
"deprecated",
174-
"access-private-member",
175-
"access-protected-member",
176-
"access-package-member",
177-
"no-discard",
178-
"disable-global-define",
179-
"undefined-field",
180-
"local-const-reassign",
181-
"duplicate-type"
160+
"oneOf": [
161+
{
162+
"type": "string",
163+
"enum": [
164+
"none"
165+
]
166+
},
167+
{
168+
"description": "Syntax error",
169+
"type": "string",
170+
"enum": [
171+
"syntax-error"
172+
]
173+
},
174+
{
175+
"description": "Type not found",
176+
"type": "string",
177+
"enum": [
178+
"type-not-found"
179+
]
180+
},
181+
{
182+
"description": "Missing return statement",
183+
"type": "string",
184+
"enum": [
185+
"missing-return"
186+
]
187+
},
188+
{
189+
"description": "Param Type not match",
190+
"type": "string",
191+
"enum": [
192+
"param-type-not-match"
193+
]
194+
},
195+
{
196+
"description": "Missing parameter",
197+
"type": "string",
198+
"enum": [
199+
"missing-parameter"
200+
]
201+
},
202+
{
203+
"description": "Inject field fail",
204+
"type": "string",
205+
"enum": [
206+
"inject-field-fail"
207+
]
208+
},
209+
{
210+
"description": "Unreachable code",
211+
"type": "string",
212+
"enum": [
213+
"unreachable-code"
214+
]
215+
},
216+
{
217+
"description": "Unused",
218+
"type": "string",
219+
"enum": [
220+
"unused"
221+
]
222+
},
223+
{
224+
"description": "Undefined global",
225+
"type": "string",
226+
"enum": [
227+
"undefined-global"
228+
]
229+
},
230+
{
231+
"description": "Deprecated",
232+
"type": "string",
233+
"enum": [
234+
"deprecated"
235+
]
236+
},
237+
{
238+
"description": "Access invisible",
239+
"type": "string",
240+
"enum": [
241+
"access-invisible"
242+
]
243+
},
244+
{
245+
"description": "Discard return value",
246+
"type": "string",
247+
"enum": [
248+
"discard-returns"
249+
]
250+
},
251+
{
252+
"description": "Disable global define",
253+
"type": "string",
254+
"enum": [
255+
"disable-global-define"
256+
]
257+
},
258+
{
259+
"description": "Undefined field",
260+
"type": "string",
261+
"enum": [
262+
"undefined-field"
263+
]
264+
},
265+
{
266+
"description": "Local const reassign",
267+
"type": "string",
268+
"enum": [
269+
"local-const-reassign"
270+
]
271+
},
272+
{
273+
"description": "Iter variable reassign",
274+
"type": "string",
275+
"enum": [
276+
"iter-variable-reassign"
277+
]
278+
},
279+
{
280+
"description": "Duplicate type",
281+
"type": "string",
282+
"enum": [
283+
"duplicate-type"
284+
]
285+
},
286+
{
287+
"description": "Redefined local",
288+
"type": "string",
289+
"enum": [
290+
"redefined-local"
291+
]
292+
},
293+
{
294+
"description": "Redefined label",
295+
"type": "string",
296+
"enum": [
297+
"redefined-label"
298+
]
299+
},
300+
{
301+
"description": "Name Style check",
302+
"type": "string",
303+
"enum": [
304+
"name-style-check"
305+
]
306+
},
307+
{
308+
"description": "Code style check",
309+
"type": "string",
310+
"enum": [
311+
"code-style-check"
312+
]
313+
},
314+
{
315+
"description": "Need check nil",
316+
"type": "string",
317+
"enum": [
318+
"need-check-nil"
319+
]
320+
},
321+
{
322+
"description": "Await in sync",
323+
"type": "string",
324+
"enum": [
325+
"await-in-sync"
326+
]
327+
}
182328
]
183329
},
184330
"DiagnosticSeveritySetting": {

0 commit comments

Comments
 (0)