Skip to content

Commit 314c569

Browse files
committed
1.21.0
1 parent ba77a75 commit 314c569

File tree

11 files changed

+54
-20
lines changed

11 files changed

+54
-20
lines changed

changelog.md

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,36 @@
11
# changelog
22

3+
## 1.21.0
4+
`2021-5-7`
5+
* `NEW` setting: `completion.showParams`
6+
* `NEW` `LuaDoc`: supports multiline comments
7+
* `NEW` `LuaDoc`: tail comments support lua string
8+
39
## 1.20.5
410
`2021-4-30`
5-
`NEW` setting: `completion.autoRequire`
6-
`NEW` setting: `hover.enumsLimit`
7-
`CHG` folding: supports `-- #region`
8-
`FIX` completion: details may be suspended
9-
`FIX` [#522](https://github.com/sumneko/lua-language-server/issues/522)
10-
`FIX` [#523](https://github.com/sumneko/lua-language-server/issues/523)
11+
* `NEW` setting: `completion.autoRequire`
12+
* `NEW` setting: `hover.enumsLimit`
13+
* `CHG` folding: supports `-- #region`
14+
* `FIX` completion: details may be suspended
15+
* `FIX` [#522](https://github.com/sumneko/lua-language-server/issues/522)
16+
* `FIX` [#523](https://github.com/sumneko/lua-language-server/issues/523)
1117

1218
## 1.20.4
1319
`2021-4-13`
14-
`NEW` diagnostic: `deprecated`
15-
`FIX` [#464](https://github.com/sumneko/lua-language-server/issues/464)
16-
`FIX` [#497](https://github.com/sumneko/lua-language-server/issues/497)
17-
`FIX` [#502](https://github.com/sumneko/lua-language-server/issues/502)
20+
* `NEW` diagnostic: `deprecated`
21+
* `FIX` [#464](https://github.com/sumneko/lua-language-server/issues/464)
22+
* `FIX` [#497](https://github.com/sumneko/lua-language-server/issues/497)
23+
* `FIX` [#502](https://github.com/sumneko/lua-language-server/issues/502)
1824

1925
## 1.20.3
2026
`2021-4-6`
21-
`FIX` [#479](https://github.com/sumneko/lua-language-server/issues/479)
22-
`FIX` [#483](https://github.com/sumneko/lua-language-server/issues/483)
23-
`FIX` [#485](https://github.com/sumneko/lua-language-server/issues/485)
24-
`FIX` [#487](https://github.com/sumneko/lua-language-server/issues/487)
25-
`FIX` [#488](https://github.com/sumneko/lua-language-server/issues/488)
26-
`FIX` [#490](https://github.com/sumneko/lua-language-server/issues/490)
27-
`FIX` [#495](https://github.com/sumneko/lua-language-server/issues/495)
27+
* `FIX` [#479](https://github.com/sumneko/lua-language-server/issues/479)
28+
* `FIX` [#483](https://github.com/sumneko/lua-language-server/issues/483)
29+
* `FIX` [#485](https://github.com/sumneko/lua-language-server/issues/485)
30+
* `FIX` [#487](https://github.com/sumneko/lua-language-server/issues/487)
31+
* `FIX` [#488](https://github.com/sumneko/lua-language-server/issues/488)
32+
* `FIX` [#490](https://github.com/sumneko/lua-language-server/issues/490)
33+
* `FIX` [#495](https://github.com/sumneko/lua-language-server/issues/495)
2834

2935
## 1.20.2
3036
`2021-4-2`

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@
8282
"scope": "resource",
8383
"type": "string"
8484
},
85+
"Lua.completion.showParams": {
86+
"default": true,
87+
"markdownDescription": "%config.completion.showParams%",
88+
"scope": "resource",
89+
"type": "boolean"
90+
},
8591
"Lua.completion.workspaceWord": {
8692
"default": true,
8793
"markdownDescription": "%config.completion.workspaceWord%",
@@ -1416,5 +1422,5 @@
14161422
"type": "git",
14171423
"url": "https://github.com/sumneko/lua-language-server"
14181424
},
1419-
"version": "1.20.5"
1425+
"version": "1.21.0"
14201426
}

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"config.completion.keywordSnippet.Both": "Shows `keyword` and `syntax snippet`.",
1515
"config.completion.keywordSnippet.Disable": "Only shows `keyword`.",
1616
"config.completion.keywordSnippet.Replace": "Only shows `syntax snippet`.",
17+
"config.completion.showParams": "Display parameters in completion list. When the function has multiple definitions, they will be displayed separately.",
1718
"config.completion.workspaceWord": "Shows words within the workspace.",
1819
"config.develop.debuggerPort": "Listen port of debugger.",
1920
"config.develop.debuggerWait": "Suspend before debugger connects.",

package.nls.zh-cn.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"config.completion.keywordSnippet.Both": "显示 `关键字` 与 `语法片段`。",
1616
"config.completion.keywordSnippet.Disable": "只显示 `关键字`。",
1717
"config.completion.keywordSnippet.Replace": "只显示 `语法片段`。",
18+
"config.completion.showParams": "在自动完成列表中显示函数的参数信息,函数拥有多个定义时会分开显示。",
1819
"config.completion.workspaceWord": "显示工作区范围内的单词。",
1920
"config.develop.debuggerPort": "调试器监听端口。",
2021
"config.develop.debuggerWait": "调试器连接之前挂起。",

package/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "1.20.5"
3+
local VERSION = "1.21.0"
44

55
local package = require 'package.package'
66
local fsu = require 'fs-utility'

package/configuration.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ local config = {
241241
default = true,
242242
markdownDescription = "%config.completion.autoRequire%"
243243
},
244+
['Lua.completion.showParams'] = {
245+
scope = "resource",
246+
type = "boolean",
247+
default = true,
248+
markdownDescription = "%config.completion.showParams%"
249+
},
244250
["Lua.color.mode"] = {
245251
scope = "resource",
246252
type = "string",

package/nls-zh-cn.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ return {
4646
['config.completion.displayContext'] = "预览建议的相关代码片段,可能可以帮助你了解这项建议的用法。设置的数字表示代码片段的截取行数,设置为`0`可以禁用此功能。",
4747
['config.completion.workspaceWord'] = "显示工作区范围内的单词。",
4848
['config.completion.autoRequire'] = "输入内容看起来是个文件名时,自动 `require` 此文件。",
49+
['config.completion.showParams'] = "在自动完成列表中显示函数的参数信息,函数拥有多个定义时会分开显示。",
4950
['config.color.mode'] = "着色模式。",
5051
['config.color.mode.Semantic'] = "语义着色。你可能需要同时将 `editor.semanticHighlighting.enabled` 设置为 `true` 才能生效。",
5152
['config.color.mode.Grammar'] = "语法着色。",

package/nls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The language service will additionally load the lua files in these directories,
4646
['config.completion.displayContext'] = "Previewing the relevant code snippet of the suggestion may help you understand the usage of the suggestion. The number set indicates the number of intercepted lines in the code fragment. If it is set to `0`, this feature can be disabled.",
4747
['config.completion.workspaceWord'] = "Shows words within the workspace.",
4848
['config.completion.autoRequire'] = "When the input looks like a file name, automatically `require` this file.",
49+
['config.completion.showParams'] = "Display parameters in completion list. When the function has multiple definitions, they will be displayed separately.",
4950
['config.color.mode'] = "Color mode.",
5051
['config.color.mode.Semantic'] = "Semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect.",
5152
['config.color.mode.Grammar'] = "Grammar color.",

server

setting/schema-zh-cn.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@
6666
"scope": "resource",
6767
"type": "string"
6868
},
69+
"Lua.completion.showParams": {
70+
"default": true,
71+
"markdownDescription": "在自动完成列表中显示函数的参数信息,函数拥有多个定义时会分开显示。",
72+
"scope": "resource",
73+
"type": "boolean"
74+
},
6975
"Lua.completion.workspaceWord": {
7076
"default": true,
7177
"markdownDescription": "显示工作区范围内的单词。",

0 commit comments

Comments
 (0)