Skip to content

Commit bf1714d

Browse files
committed
0.6.10
1 parent d62defd commit bf1714d

File tree

4 files changed

+76
-2
lines changed

4 files changed

+76
-2
lines changed

CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22

33
[English Change Log](CHANGELOG_EN.md)
44

5+
# 0.6.10
6+
7+
`NEW` 现在支持从配置文件配置语言服务, 你可以在工作区创建.emmyrc.json, 具体格式目前是:
8+
```json
9+
{
10+
"completion": {
11+
"autoRequire": true,
12+
"callSnippet": false,
13+
"postfix": "@"
14+
},
15+
"diagnostics": {
16+
"disable": [],
17+
"globals": []
18+
},
19+
"hint": {},
20+
"runtime": {
21+
"version": "Lua5.4"
22+
},
23+
"workspace": {
24+
"ignoreDir": [
25+
"test"
26+
],
27+
"library": [],
28+
"workspaceRoots": [],
29+
"preloadFileSize": 2048000
30+
}
31+
}
32+
```
33+
34+
`NEW` 现在提供工作区诊断和工作区禁用诊断
35+
36+
`NEW` 支持在工作区内配置root路径, 这样require路径将会从root开始, root可以配置多个
37+
38+
`NEW` 支持配置第三方库目录
39+
40+
`NEW` 支持通过_G定义全局变量, 例如_G.aa = 123, 但是找不到引用目前
41+
542
# 0.6.9
643

744
`FIX` 修复全局变量判断问题

CHANGELOG_EN.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Change Log
22

3+
# 0.6.10
4+
5+
`NEW` Now supports configuring the language service from the configuration file, you can create .emmyrc.json in the workspace, the specific format is currently:
6+
```json
7+
{
8+
"completion": {
9+
"autoRequire": true,
10+
"callSnippet": false,
11+
"postfix": "@"
12+
},
13+
"diagnostics": {
14+
"disable": [],
15+
"globals": []
16+
},
17+
"hint": {},
18+
"runtime": {
19+
"version": "Lua5.4"
20+
},
21+
"workspace": {
22+
"ignoreDir": [
23+
"test"
24+
],
25+
"library": [],
26+
"workspaceRoots": [],
27+
"preloadFileSize": 2048000
28+
}
29+
}
30+
```
31+
32+
`NEW` Now provides workspace diagnostics and workspace disable diagnostics
33+
34+
`NEW` Supports configuring the root path within the workspace, so the require path will start from the root, and multiple roots can be configured
35+
36+
`NEW` Supports configuring third-party library directories
37+
38+
`NEW` Supports defining global variables through _G, for example _G.aa = 123, but the reference cannot be found currently
39+
340
# 0.6.9
441

542
`FIX` Fixed global variable detection issue

build/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ exports.default = {
33
emmyDebuggerUrl: 'https://github.com/EmmyLua/EmmyLuaDebugger/releases/download',
44
lanServerVersion: "0.5.16",
55
lanServerUrl: 'https://github.com/EmmyLua/EmmyLua-LanguageServer/releases/download',
6-
newLanguageServerVersion: "0.1.8",
6+
newLanguageServerVersion: "0.1.9",
77
newLanguageServerUrl: "https://github.com/CppCXY/EmmyLuaAnalyzer/releases/download"
88
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "emmylua",
33
"displayName": "EmmyLua",
44
"description": "EmmyLua for vscode",
5-
"version": "0.6.9",
5+
"version": "0.6.10",
66
"icon": "res/icon.png",
77
"publisher": "tangzx",
88
"engines": {

0 commit comments

Comments
 (0)