Skip to content

Commit 23b1515

Browse files
committed
1.7.0
1 parent f87fa06 commit 23b1515

File tree

9 files changed

+75
-3
lines changed

9 files changed

+75
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,4 @@ Please [help me][en-US] improve the quality of `en-US`.
127127
* [Allen Shaw](https://github.com/shuxiao9058)
128128
* [Bartel](https://github.com/Letrab)
129129
* [Ruin0x11](https://github.com/Ruin0x11)
130+
* [uhziel](https://github.com/uhziel)

changelog.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# changelog
22

3+
## 1.7.0
4+
`2020-12-16`
5+
* `NEW` diagnostic: `undefined-field`
6+
* `NEW` telemetry:
7+
+ [What data will be sent](https://github.com/sumneko/lua-language-server/blob/master/script/service/telemetry.lua)
8+
+ [How to use this data](https://github.com/sumneko/lua-telemetry-server/tree/master/method)
9+
* `CHG` diagnostic: `unused-function` ignores function with `<close>`
10+
* `CHG` semantic: not cover local call
11+
* `CHG` language client: update to [7.0.0](https://github.com/microsoft/vscode-languageserver-node/commit/20681d7632bb129def0c751be73cf76bd01f2f3a)
12+
* `FIX` semantic: tokens may not be updated correctly
13+
* `FIX` completion: require path broken
14+
* `FIX` hover: document uri
15+
* `FIX` [#291](https://github.com/sumneko/lua-language-server/issues/291)
16+
* `FIX` [#294](https://github.com/sumneko/lua-language-server/issues/294)
17+
318
## 1.6.0
419
`2020-12-14`
520
* `NEW` completion: auto require local modules

package.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,18 @@
383383
"scope": "resource",
384384
"type": "string"
385385
},
386+
"undefined-field": {
387+
"default": "Warning",
388+
"description": "%config.diagnostics.undefined-field%",
389+
"enum": [
390+
"Error",
391+
"Warning",
392+
"Information",
393+
"Hint"
394+
],
395+
"scope": "resource",
396+
"type": "string"
397+
},
386398
"undefined-global": {
387399
"default": "Warning",
388400
"description": "%config.diagnostics.undefined-global%",
@@ -563,6 +575,12 @@
563575
"scope": "resource",
564576
"type": "boolean"
565577
},
578+
"Lua.telemetry.enable": {
579+
"default": true,
580+
"markdownDescription": "%config.telemetry.enable%",
581+
"scope": "resource",
582+
"type": "boolean"
583+
},
566584
"Lua.workspace.ignoreDir": {
567585
"default": [
568586
".vscode"
@@ -663,5 +681,5 @@
663681
"type": "git",
664682
"url": "https://github.com/sumneko/lua-language-server"
665683
},
666-
"version": "1.6.0"
684+
"version": "1.7.0"
667685
}

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"config.runtime.unicodeName": "Allows Unicode characters in name.",
3636
"config.runtime.version": "Lua runtime version.",
3737
"config.signatureHelp.enable": "Enable signature help.",
38+
"config.telemetry.enable": "Enable telemetry to send your editor information and error logs over the network\n* [What data will be sent](https://github.com/sumneko/lua-language-server/blob/master/script/service/telemetry.lua)\n* [How to use this data](https://github.com/sumneko/lua-telemetry-server/tree/master/method)\n",
3839
"config.workspace.ignoreDir": "Ignored directories (Use `.gitignore` grammar).\n",
3940
"config.workspace.ignoreSubmodules": "Ignore submodules.",
4041
"config.workspace.library": "Load external library.\nThis feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified.\nThe following example shows loaded files in `C:/lua` and `../lib` ,exclude `../lib/temp`.\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"temp/*\"\n ]\n}\n```\n",

package.nls.zh-cn.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"config.runtime.unicodeName": "允许在名字中使用 Unicode 字符。",
3939
"config.runtime.version": "Lua运行版本。",
4040
"config.signatureHelp.enable": "启用参数提示。",
41+
"config.telemetry.enable": "启用遥测,通过网络发送你的编辑器信息与错误日志\n* [会发送哪些数据](https://github.com/sumneko/lua-language-server/blob/master/script/service/telemetry.lua)\n* [如何使用这些数据](https://github.com/sumneko/lua-telemetry-server/tree/master/method)\n",
4142
"config.workspace.ignoreDir": "忽略的目录(使用 `.gitignore` 语法)。\n",
4243
"config.workspace.ignoreSubmodules": "忽略子模块。",
4344
"config.workspace.library": "加载外部函数库。\n该功能可以加载外部的Lua文件,用于函数定义、自动完成等功能。注意,语言服务不会监视外部文件的变化,如果修改了外部文件需要重启。\n下面这个例子表示加载`C:/lua`与`../lib`中的所有文件,但不加载`../lib/temp`中的文件。\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"temp/*\"\n ]\n}\n```\n",

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.6.0"
3+
local VERSION = "1.7.0"
44

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

server

setting/schema-zh-cn.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,18 @@
367367
"scope": "resource",
368368
"type": "string"
369369
},
370+
"undefined-field": {
371+
"default": "Warning",
372+
"description": "%config.diagnostics.undefined-field%",
373+
"enum": [
374+
"Error",
375+
"Warning",
376+
"Information",
377+
"Hint"
378+
],
379+
"scope": "resource",
380+
"type": "string"
381+
},
370382
"undefined-global": {
371383
"default": "Warning",
372384
"description": "%config.diagnostics.undefined-global%",
@@ -547,6 +559,12 @@
547559
"scope": "resource",
548560
"type": "boolean"
549561
},
562+
"Lua.telemetry.enable": {
563+
"default": true,
564+
"markdownDescription": "启用遥测,通过网络发送你的编辑器信息与错误日志\n* [会发送哪些数据](https://github.com/sumneko/lua-language-server/blob/master/script/service/telemetry.lua)\n* [如何使用这些数据](https://github.com/sumneko/lua-telemetry-server/tree/master/method)\n",
565+
"scope": "resource",
566+
"type": "boolean"
567+
},
550568
"Lua.workspace.ignoreDir": {
551569
"default": [
552570
".vscode"

setting/schema.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,18 @@
367367
"scope": "resource",
368368
"type": "string"
369369
},
370+
"undefined-field": {
371+
"default": "Warning",
372+
"description": "%config.diagnostics.undefined-field%",
373+
"enum": [
374+
"Error",
375+
"Warning",
376+
"Information",
377+
"Hint"
378+
],
379+
"scope": "resource",
380+
"type": "string"
381+
},
370382
"undefined-global": {
371383
"default": "Warning",
372384
"description": "%config.diagnostics.undefined-global%",
@@ -547,6 +559,12 @@
547559
"scope": "resource",
548560
"type": "boolean"
549561
},
562+
"Lua.telemetry.enable": {
563+
"default": true,
564+
"markdownDescription": "Enable telemetry to send your editor information and error logs over the network\n* [What data will be sent](https://github.com/sumneko/lua-language-server/blob/master/script/service/telemetry.lua)\n* [How to use this data](https://github.com/sumneko/lua-telemetry-server/tree/master/method)\n",
565+
"scope": "resource",
566+
"type": "boolean"
567+
},
550568
"Lua.workspace.ignoreDir": {
551569
"default": [
552570
".vscode"

0 commit comments

Comments
 (0)