Skip to content

Commit cca3ba5

Browse files
committedFeb 2, 2021
1.14.0
1 parent a73e208 commit cca3ba5

8 files changed

+109
-18
lines changed
 

‎changelog.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
# changelog
22

3+
## 1.14.0
4+
`2021-2-2`
5+
* `NEW` `VSCode` hint
6+
* `NEW` flush cache after 5 min
7+
* `NEW` `VSCode` help semantic color with market theme
8+
* `CHG` create/delete/rename files no longer reload workspace
9+
* `CHG` `LuaDoc`: compatible with `--@`
10+
* `FIX` `VSCode` settings
11+
* `FIX` [#368](https://github.com/sumneko/lua-language-server/issues/368)
12+
* `FIX` [#371](https://github.com/sumneko/lua-language-server/issues/371)
13+
314
## 1.13.0
415
`2021-1-28`
5-
* `NEW` VSCode: status bar
6-
* `NEW` options in some window
16+
* `NEW` `VSCode` status bar
17+
* `NEW` `VSCode` options in some window
718
* `CHG` performance optimization
819
* `FIX` endless loop
920

‎package.json

+28-4
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,30 @@
810810
"scope": "resource",
811811
"type": "integer"
812812
},
813+
"Lua.hint.enable": {
814+
"default": true,
815+
"markdownDescription": "%config.hint.enable%",
816+
"scope": "resource",
817+
"type": "boolean"
818+
},
819+
"Lua.hint.paramName": {
820+
"default": true,
821+
"markdownDescription": "%config.hint.paramName%",
822+
"scope": "resource",
823+
"type": "boolean"
824+
},
825+
"Lua.hint.paramType": {
826+
"default": true,
827+
"markdownDescription": "%config.hint.paramType%",
828+
"scope": "resource",
829+
"type": "boolean"
830+
},
831+
"Lua.hint.setType": {
832+
"default": false,
833+
"markdownDescription": "%config.hint.setType%",
834+
"scope": "resource",
835+
"type": "boolean"
836+
},
813837
"Lua.hover.enable": {
814838
"default": true,
815839
"markdownDescription": "%config.hover.enable%",
@@ -947,15 +971,15 @@
947971
"scope": "resource",
948972
"type": "boolean"
949973
},
950-
"Lua.window.progress": {
974+
"Lua.window.progressBar": {
951975
"default": true,
952-
"markdownDescription": "%config.window.progress",
976+
"markdownDescription": "%config.window.progressBar%",
953977
"scope": "resource",
954978
"type": "boolean"
955979
},
956980
"Lua.window.statusBar": {
957981
"default": true,
958-
"markdownDescription": "%config.window.statusBar",
982+
"markdownDescription": "%config.window.statusBar%",
959983
"scope": "resource",
960984
"type": "boolean"
961985
},
@@ -1059,5 +1083,5 @@
10591083
"type": "git",
10601084
"url": "https://github.com/sumneko/lua-language-server"
10611085
},
1062-
"version": "1.13.0"
1086+
"version": "1.14.0"
10631087
}

‎package.nls.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"config.awakened.cat": "PLAY WITH ME >_<\n\n(This will enable the beta version which is still in development. Feedback is welcome! Reload the window after changing this option!)",
33
"config.color.mode": "Color mode.",
44
"config.color.mode.Grammar": "Grammar color.",
5-
"config.color.mode.Semantic": "Semantic color. Your color theme must support semantic coloring to be effective.",
5+
"config.color.mode.Semantic": "Semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect.",
66
"config.completion.callSnippet": "Shows function call snippets.",
77
"config.completion.callSnippet.Both": "Shows `function name` and `call snippet`.",
88
"config.completion.callSnippet.Disable": "Only shows `function name`.",
@@ -24,6 +24,10 @@
2424
"config.diagnostics.severity": "Modified diagnostic severity.\n",
2525
"config.diagnostics.workspaceDelay": "Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics.",
2626
"config.diagnostics.workspaceRate": "Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting.",
27+
"config.hint.enable": "Enabel hint.",
28+
"config.hint.paramName": "Hint parameter name when the parameter called is literal.",
29+
"config.hint.paramType": "Show type hints at the parameter of the function.",
30+
"config.hint.setType": "Hint type at assignment operation.",
2731
"config.hover.enable": "Enable hover.",
2832
"config.hover.fieldInfer": "When hovering to view a table, type infer will be performed for each field. When the accumulated time of type infer reaches the set value (MS), the type infer of subsequent fields will be skipped.",
2933
"config.hover.previewFields": "When hovering to view a table, limits the maximum number of previews for fields.",

‎package.nls.zh-cn.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"config.awakened.cat": "PLAY WITH ME >_<\n\n(这会启用还处于开发中的beta版,欢迎测试反馈!改变此选项需要重载窗口!)",
44
"config.color.mode": "着色模式。",
55
"config.color.mode.Grammar": "语法着色。",
6-
"config.color.mode.Semantic": "语义着色。你的颜色主题必须要支持语义着色才有效",
6+
"config.color.mode.Semantic": "语义着色。你可能需要同时将 `editor.semanticHighlighting.enabled` 设置为 `true` 才能生效",
77
"config.completion.callSnippet": "显示函数调用片段。",
88
"config.completion.callSnippet.Both": "显示 `函数名` 与 `调用片段`。",
99
"config.completion.callSnippet.Disable": "只显示 `函数名`。",
@@ -27,6 +27,10 @@
2727
"config.diagnostics.unused-local": "未使用的局部变量",
2828
"config.diagnostics.workspaceDelay": "进行工作区诊断的延迟(毫秒)。当你启动工作区,或编辑了任意文件后,将会在后台对整个工作区进行重新诊断。设置为负数可以禁用工作区诊断。",
2929
"config.diagnostics.workspaceRate": "工作区诊断的运行速率(百分比)。降低该值会减少CPU占用,但是也会降低工作区诊断的速度。你当前正在编辑的文件的诊断总是全速完成,不受该选项影响。",
30+
"config.hint.enable": "启用内联提示。",
31+
"config.hint.paramName": "调用的参数为字面量时提示参数名。",
32+
"config.hint.paramType": "在函数的参数位置提示类型。",
33+
"config.hint.setType": "在赋值操作位置提示类型。",
3034
"config.hover.enable": "启用悬停提示。",
3135
"config.hover.fieldInfer": "悬停提示查看表时,会对表的每个字段进行类型推测,当类型推测的用时累计达到该设定值(毫秒)时,将跳过后续字段的类型推测。",
3236
"config.hover.previewFields": "悬停提示查看表时,限制表内字段的最大预览数量。",

‎package/build.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "1.13.0"
3+
local VERSION = "1.14.0"
44

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

‎server

‎setting/schema-zh-cn.json

+28-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"markdownDescription": "着色模式。",
1212
"markdownEnumDescriptions": [
1313
"语法着色。",
14-
"语义着色。你的颜色主题必须要支持语义着色才有效"
14+
"语义着色。你可能需要同时将 `editor.semanticHighlighting.enabled` 设置为 `true` 才能生效"
1515
],
1616
"scope": "resource",
1717
"type": "string"
@@ -794,6 +794,30 @@
794794
"scope": "resource",
795795
"type": "integer"
796796
},
797+
"Lua.hint.enable": {
798+
"default": true,
799+
"markdownDescription": "启用内联提示。",
800+
"scope": "resource",
801+
"type": "boolean"
802+
},
803+
"Lua.hint.paramName": {
804+
"default": true,
805+
"markdownDescription": "调用的参数为字面量时提示参数名。",
806+
"scope": "resource",
807+
"type": "boolean"
808+
},
809+
"Lua.hint.paramType": {
810+
"default": true,
811+
"markdownDescription": "在函数的参数位置提示类型。",
812+
"scope": "resource",
813+
"type": "boolean"
814+
},
815+
"Lua.hint.setType": {
816+
"default": false,
817+
"markdownDescription": "在赋值操作位置提示类型。",
818+
"scope": "resource",
819+
"type": "boolean"
820+
},
797821
"Lua.hover.enable": {
798822
"default": true,
799823
"markdownDescription": "启用悬停提示。",
@@ -931,15 +955,15 @@
931955
"scope": "resource",
932956
"type": "boolean"
933957
},
934-
"Lua.window.progress": {
958+
"Lua.window.progressBar": {
935959
"default": true,
936-
"markdownDescription": "%config.window.progress",
960+
"markdownDescription": "在状态栏显示进度条。",
937961
"scope": "resource",
938962
"type": "boolean"
939963
},
940964
"Lua.window.statusBar": {
941965
"default": true,
942-
"markdownDescription": "%config.window.statusBar",
966+
"markdownDescription": "在状态栏显示插件状态。",
943967
"scope": "resource",
944968
"type": "boolean"
945969
},

‎setting/schema.json

+28-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"markdownDescription": "Color mode.",
1212
"markdownEnumDescriptions": [
1313
"Grammar color.",
14-
"Semantic color. Your color theme must support semantic coloring to be effective."
14+
"Semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect."
1515
],
1616
"scope": "resource",
1717
"type": "string"
@@ -794,6 +794,30 @@
794794
"scope": "resource",
795795
"type": "integer"
796796
},
797+
"Lua.hint.enable": {
798+
"default": true,
799+
"markdownDescription": "Enabel hint.",
800+
"scope": "resource",
801+
"type": "boolean"
802+
},
803+
"Lua.hint.paramName": {
804+
"default": true,
805+
"markdownDescription": "Hint parameter name when the parameter called is literal.",
806+
"scope": "resource",
807+
"type": "boolean"
808+
},
809+
"Lua.hint.paramType": {
810+
"default": true,
811+
"markdownDescription": "Show type hints at the parameter of the function.",
812+
"scope": "resource",
813+
"type": "boolean"
814+
},
815+
"Lua.hint.setType": {
816+
"default": false,
817+
"markdownDescription": "Hint type at assignment operation.",
818+
"scope": "resource",
819+
"type": "boolean"
820+
},
797821
"Lua.hover.enable": {
798822
"default": true,
799823
"markdownDescription": "Enable hover.",
@@ -931,15 +955,15 @@
931955
"scope": "resource",
932956
"type": "boolean"
933957
},
934-
"Lua.window.progress": {
958+
"Lua.window.progressBar": {
935959
"default": true,
936-
"markdownDescription": "%config.window.progress",
960+
"markdownDescription": "Show progress bar in status bar.",
937961
"scope": "resource",
938962
"type": "boolean"
939963
},
940964
"Lua.window.statusBar": {
941965
"default": true,
942-
"markdownDescription": "%config.window.statusBar",
966+
"markdownDescription": "Show extension status in status bar.",
943967
"scope": "resource",
944968
"type": "boolean"
945969
},

0 commit comments

Comments
 (0)
Please sign in to comment.