Skip to content

Commit 8b89daa

Browse files
committed
0.8.20
1 parent 5a64e08 commit 8b89daa

File tree

5 files changed

+47
-3
lines changed

5 files changed

+47
-3
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

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

5+
# next
6+
7+
下一个版本从0.9.0开始, 将重点实现类型检查
8+
9+
# 0.8.20
10+
11+
`FIX` 修复了连续调用时函数签名判断错误
12+
13+
`FIX` 修复alias类型作为key时的推断问题
14+
15+
`FIX` 修复了常整数field补全失效的问题:
16+
```lua
17+
---@class A
18+
---@field [1] string
19+
local a
20+
a[1] -- now can completion
21+
```
22+
23+
`NEW` 优化了语义token, 他仅仅作用于doc
24+
25+
`NOTE` 0.8.20 作为 0.8.x 系列最后一个发布版本, 后续版本号将升级到0.9.0
26+
527
# 0.8.18
628

729
`FIX` 修复参数为enum和alias时的代码补全列表包含了过多的引号

CHANGELOG_EN.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Change Log
22

3+
# next
4+
5+
The next version will start from 0.9.0 and will focus on implementing type checking.
6+
7+
# 0.8.20
8+
9+
`FIX` Fixed the issue with incorrect function signature judgment during consecutive calls.
10+
11+
`FIX` Fixed the inference problem when using alias types as keys.
12+
13+
`FIX` Fixed the issue where completion for constant integer fields was not working:
14+
```lua
15+
---@class A
16+
---@field [1] string
17+
local a
18+
a[1] -- now can completion
19+
```
20+
21+
`NEW` Optimized semantic tokens, which now only apply to documentation.
22+
23+
`NOTE` 0.8.20 is the last release version in the 0.8.x series. The version number will be upgraded to 0.9.0 in the future.
24+
325
# 0.8.18
426

527
`FIX` Fixed the issue where the code completion list for parameters with enum and alias included too many quotes.

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

package.json

Lines changed: 1 addition & 1 deletion
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.18",
5+
"version": "0.8.20",
66
"icon": "res/icon.png",
77
"publisher": "tangzx",
88
"engines": {

src/languageConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class LuaLanguageConfiguration implements LanguageConfiguration {
2424
afterText: /^\s*end\s*$/,
2525
action: { indentAction: IndentAction.IndentOutdent, appendText: "\t" }
2626
},
27-
{
27+
{
2828
// 匹配 local function 语句的行
2929
beforeText: /^\s*local\s+function\s+\w*\s*\(.*\)\s*$/,
3030
afterText: /^\s*end\s*$/,

0 commit comments

Comments
 (0)