Skip to content

Commit ef5e2b7

Browse files
committed
0.8.17
1 parent 679a7f0 commit ef5e2b7

File tree

3 files changed

+39
-4
lines changed

3 files changed

+39
-4
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,27 @@
44

55
# next
66

7-
考虑重新实现emmylua-unity, 或者考虑迁移到intellij平台
7+
会考虑在intellij平台重新发布一个插件, 集成vscode端的内容
88

99
# 0.8.17
1010

1111
`FIX` 修复linux目录错误的问题
1212

13+
`FIX` 修复table<TKey, TValue>注解的相关推断问题
14+
15+
`FIX` 修复全局变量如果标记了class, 则在其他地方找不到引用的BUG
16+
17+
`NEW` 支持注解`@source "<uri>#<line>:<col>"`当字段拥有该注解时, 跳转会跳转到该source指定的位置
18+
19+
`NEW` VSCode-EmmyLua-Unity不久(2024年8月8日)会发布, 使用该插件导出的API, 会依据xlua的规则导出对应的API, 并且字段支持跳转到对应的C#实现
20+
21+
`NEW` 枚举注解`@enum` 支持`key` attribute, 例如:
22+
```lua
23+
---@enum (key) AAA
24+
---| CS.A.B.C
25+
```
26+
这样在代码补全时, 会自动补全为`CS.A.B.C`而不是`AAA.CS.A.B.C`
27+
1328
# 0.8.16
1429

1530
`CHG` 所有函数的函数返回值被视为新的实例, 对其返回值的修改在不同实例之间互相独立

CHANGELOG_EN.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,27 @@
22

33
# next
44

5-
Consider reimplementing emmylua-unity or consider migrating to the IntelliJ platform.
5+
Consider re-releasing a plugin on the IntelliJ platform, integrating the content from the VSCode side.
6+
7+
# 0.8.17
8+
9+
`FIX` Fixed the issue with incorrect Linux directories.
10+
11+
`FIX` Fixed inference issues related to the `table<TKey, TValue>` annotation.
12+
13+
`FIX` Fixed a bug where global variables marked as classes could not be referenced elsewhere.
14+
15+
`NEW` Added support for the `@source "<uri>#<line>:<col>"` annotation. When a field has this annotation, jumping will go to the specified location in the source.
16+
17+
`NEW` VSCode-EmmyLua-Unity will be released soon (August 8, 2024). The API exported using this plugin will follow the rules of xlua and support jumping to the corresponding C# implementation for fields.
18+
19+
`NEW` Enum annotation `@enum` supports `key` attribute, for example:
20+
```lua举注解`@enum` 支持`key` attribute, 例如:
21+
---@enum (key) AAA
22+
---| CS.A.B.C AAA
23+
``` CS.A.B.C
24+
This way, during code completion, it will automatically complete as `CS.A.B.C` instead of `AAA.CS.A.B.C`.
25+
这样在代码补全时, 会自动补全为`CS.A.B.C`而不是`AAA.CS.A.B.C`
626

727
# 0.8.16
828

@@ -12,7 +32,7 @@ Consider reimplementing emmylua-unity or consider migrating to the IntelliJ plat
1232

1333
`FIX` Fixed the bug where table generics cannot participate in inference.
1434

15-
`NEW` Introduced a special generic type, `namespace<T: string>`, which attempts to reference namespaces. For example:
35+
`NEW` Introduced a special generic type, `namespace<T : string>`, which attempts to reference namespaces. For example:
1636
```lua
1737
CS = {
1838
---@type namespace<"UnityEngine">

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

0 commit comments

Comments
 (0)