Skip to content

Commit 75f3cc7

Browse files
committed
Merge branch 'master' of github.com:EmmyLua/VSCode-EmmyLua
2 parents e1ed77c + e834d21 commit 75f3cc7

File tree

5 files changed

+50
-3
lines changed

5 files changed

+50
-3
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

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

5+
# next
6+
7+
考虑重新实现emmylua-unity, 或者考虑迁移到intellij平台
8+
9+
# 0.8.16
10+
11+
`CHG` 所有函数的函数返回值被视为新的实例, 对其返回值的修改在不同实例之间互相独立
12+
13+
`FIX` 修复_G无法提示和添加全局变量的BUG
14+
15+
`FIX` 修复table泛型无法参与推断的BUG
16+
17+
`NEW` 引入特殊泛型类型, `namespace<T : string>`, 该类型会试图引用命名空间例如:
18+
```lua
19+
CS = {
20+
---@type namespace<"UnityEngine">
21+
UnityEngine = {},
22+
---@type namespace<"System">
23+
System = {},
24+
}
25+
26+
```
27+
28+
529
# 0.8.15
630

731
`CHG` 重构底层类型系统, 重构索引系统

CHANGELOG_EN.md

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

3+
# next
4+
5+
Consider reimplementing emmylua-unity or consider migrating to the IntelliJ platform.
6+
7+
# 0.8.16
8+
9+
`CHG` All function return values are treated as new instances, and modifications to their return values are independent between different instances.
10+
11+
`FIX` Fixed the bug where `_G` cannot be prompted and global variables cannot be added.
12+
13+
`FIX` Fixed the bug where table generics cannot participate in inference.
14+
15+
`NEW` Introduced a special generic type, `namespace<T: string>`, which attempts to reference namespaces. For example:
16+
```lua
17+
CS = {
18+
---@type namespace<"UnityEngine">
19+
UnityEngine = {},
20+
---@type namespace<"System">
21+
System = {},
22+
}
23+
24+
```
25+
326

427
# 0.8.15
528

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ A: 这就是惊喜! 大部分爆红是因为emmylua检查到项目中有未定
3737
"disable": [
3838
"undefined-global"
3939
]
40-
},
40+
}
4141
}
4242
```
4343

build/config.js

+1-1
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.6.1",
4+
newLanguageServerVersion: "0.6.2",
55
newLanguageServerUrl: "https://github.com/CppCXY/EmmyLuaAnalyzer/releases/download"
66
}

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.8.15",
5+
"version": "0.8.16",
66
"icon": "res/icon.png",
77
"publisher": "tangzx",
88
"engines": {

0 commit comments

Comments
 (0)