From 379295a6b31f533c0e92eae8f650d9fae9588a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com> Date: Thu, 2 Mar 2023 17:26:56 +0800 Subject: [PATCH] 3.6.12 --- README.md | 28 +++++++++++++--------------- changelog.md | 4 ++++ package-lock.json | 4 ++-- package.json | 13 +++++++++---- package.nls.json | 7 ++++--- package.nls.pt-br.json | 7 ++++--- package.nls.zh-cn.json | 7 ++++--- package.nls.zh-tw.json | 7 ++++--- package/build.lua | 2 +- server | 2 +- setting/schema-pt-br.json | 6 +++--- setting/schema-zh-cn.json | 6 +++--- setting/schema-zh-tw.json | 6 +++--- setting/schema.json | 6 +++--- 14 files changed, 58 insertions(+), 47 deletions(-) diff --git a/README.md b/README.md index 9921b43..db6c8d3 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ # lua-language-server - +[](https://github.com/LuaLS/lua-language-server/actions/workflows/build.yml) [](https://marketplace.visualstudio.com/items?itemName=sumneko.lua)   -[](https://github.com/LuaLS/lua-language-server/issues "Average time to resolve an issue") ***Lua development just got a whole lot better*** 🧠 @@ -33,25 +32,25 @@ The Lua language server provides various language features for Lua to make devel The language server can easily be installed for use in VS Code, but it can also be used by other clients using the command line. ### Visual Studio Code -[](https://marketplace.visualstudio.com/items?itemName=sumneko.lua) +[](https://marketplace.visualstudio.com/items?itemName=sumneko.lua) The language server and Visual Studio Code client can be installed from [the VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=sumneko.lua).  ### Command Line -[](https://github.com/LuaLS/lua-language-server/wiki/Getting-Started#command-line) +[](https://github.com/LuaLS/lua-language-server/wiki/Getting-Started#command-line) -Check the [wiki for a guide](https://github.com/LuaLS/lua-language-server/wiki/Getting-Started#command-line) to install the language server for use on the command line. This allows the language server to be used for NeoVim and other clients that follow the language server protocol. +Check the [wiki for a guide](https://github.com/LuaLS/lua-language-server/wiki/Getting-Started#command-line) to install the language server for use on the command line. This allows the language server to be used with NeoVim and [other clients](https://microsoft.github.io/language-server-protocol/implementors/tools/) that follow the [language server protocol](https://microsoft.github.io/language-server-protocol/overviews/lsp/overview/). ## Supported Lua Versions -| Version | Supported | +| Version | Supported | | :-----: | :------------: | -| Lua 5.1 | ![][checkmark] | -| Lua 5.2 | ![][checkmark] | -| Lua 5.3 | ![][checkmark] | -| Lua 5.4 | ![][checkmark] | -| LuaJIT | ![][checkmark] | +| Lua 5.1 | ![✅][checkmark] | +| Lua 5.2 | ![✅][checkmark] | +| Lua 5.3 | ![✅][checkmark] | +| Lua 5.4 | ![✅][checkmark] | +| LuaJIT | ![✅][checkmark] | ## Links - [Changelog](https://github.com/LuaLS/lua-language-server/blob/master/changelog.md) @@ -76,14 +75,13 @@ Check the [wiki for a guide](https://github.com/LuaLS/lua-language-server/wiki/G - `pt-br` 🇧🇷 -> ℹ Note: All translations are provided and collaborated on by the community. If you find an inappropriate or harmful translation, [please report it immediately](https://github.com/LuaLS/lua-language-server/issues). +> **Note** +> All translations are provided and collaborated on by the community. If you find an inappropriate or harmful translation, [please report it immediately](https://github.com/LuaLS/lua-language-server/issues). Are you able to [provide a translation](https://github.com/LuaLS/lua-language-server/wiki/Translations)? It would be greatly appreciated! Thank you to [all contributors of translations](https://github.com/LuaLS/lua-language-server/commits/master/locale)! -[en-US]: https://github.com/LuaLS/lua-language-server/tree/master/locale/en-us - ## Configuration Configuration of the server can be done in a number of ways, which are explained more in-depth in the [wiki](https://github.com/LuaLS/lua-language-server/wiki/Configuration-File). @@ -95,7 +93,7 @@ See the [configuration file wiki page](https://github.com/LuaLS/lua-language-ser ## Privacy -This language server has **opt-in** telemetry that collects usage data and sends it to the development team to help improve the extension. Read our [privacy policy](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy) to learn more. +The language server had **opt-in** telemetry that collected usage data and sent it to the development team to help improve the extension. Read our [privacy policy](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy) to learn more. Telemetry was removed in `v3.6.5` and is no longer part of the language server. ## Contributors diff --git a/changelog.md b/changelog.md index 62d9c36..d6fb4a4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # changelog +## 3.6.12 +`2023-3-2` +* `NEW` [Addon Manager](https://github.com/LuaLS/lua-language-server/discussions/1607), try it with command `lua.addon_manager.open`. Thanks to [carsakiller](https://github.com/carsakiller)! + ## 3.6.11 `2023-2-13` * `CHG` completion: don't show loading process diff --git a/package-lock.json b/package-lock.json index afe873c..c3b1752 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lua", - "version": "3.6.11", + "version": "3.6.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lua", - "version": "3.6.11", + "version": "3.6.12", "license": "MIT", "engines": { "vscode": "^1.67.0" diff --git a/package.json b/package.json index ccd2267..b9ac3b9 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, { "command": "lua.addon_manager.open", - "title": "Lua: Open Addon Manager" + "title": "%command.addon_manager.open%" }, { "command": "lua.exportDocument", @@ -37,8 +37,8 @@ ], "configuration": { "properties": { - "Lua.addonManager.enable" : { - "default": true, + "Lua.addonManager.enable": { + "default": false, "markdownDescription": "%config.addonManager.enable%", "scope": "resource", "type": "boolean" @@ -2918,6 +2918,11 @@ "command": "lua.exportDocument", "group": "z_commands", "when": "resourceLangId == lua" + }, + { + "command": "lua.addon_manager.open", + "group": "z_commands", + "when": "resourceLangId == lua" } ] }, @@ -3065,5 +3070,5 @@ "sponsor": { "url": "https://github.com/LuaLS/lua-language-server/issues/484" }, - "version": "3.6.11" + "version": "3.6.12" } diff --git a/package.nls.json b/package.nls.json index 6e66435..98e060d 100644 --- a/package.nls.json +++ b/package.nls.json @@ -1,10 +1,11 @@ { - "command.exportDocument": "Export Document ...", - "config.addonManager.enable": "Set the on/off state for the addon manager.", + "command.addon_manager.open": "Lua: Open Addon Manager ...", + "command.exportDocument": "Lua: Export Document ...", "config.IntelliSense.traceBeSetted": "Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceFieldInject": "Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceLocalSet": "Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceReturn": "Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", + "config.addonManager.enable": "", "config.codeLens.enable": "Enable code lens.", "config.color.mode": "Color mode.", "config.color.mode.Grammar": "Grammar color.", @@ -219,4 +220,4 @@ "config.workspace.supportScheme": "Provide language server for the Lua files of the following scheme.", "config.workspace.useGitIgnore": "Ignore files list in `.gitignore` .", "config.workspace.userThirdParty": "Add private third-party library configuration file paths here, please refer to the built-in [configuration file path](https://github.com/LuaLS/lua-language-server/tree/master/meta/3rd)" -} +} \ No newline at end of file diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index ad191da..4ec0e37 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -1,10 +1,11 @@ { - "command.exportDocument": "Export Document ...", - "config.addonManager.enable": "Set the on/off state for the addon manager.", + "command.addon_manager.open": "Lua: Open Addon Manager ...", + "command.exportDocument": "Lua: Export Document ...", "config.IntelliSense.traceBeSetted": "Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceFieldInject": "Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceLocalSet": "Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceReturn": "Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", + "config.addonManager.enable": "", "config.codeLens.enable": "Enable code lens.", "config.color.mode": "Color mode.", "config.color.mode.Grammar": "Grammar color.", @@ -219,4 +220,4 @@ "config.workspace.supportScheme": "Provide language server for the Lua files of the following scheme.", "config.workspace.useGitIgnore": "Ignore files list in `.gitignore` .", "config.workspace.userThirdParty": "Add private third-party library configuration file paths here, please refer to the built-in [configuration file path](https://github.com/LuaLS/lua-language-server/tree/master/meta/3rd)" -} +} \ No newline at end of file diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 74ce127..db2f790 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -1,10 +1,11 @@ { - "command.exportDocument": "导出文档...", - "config.addonManager.enable": "Set the on/off state for the addon manager.", + "command.addon_manager.open": "Lua: 打开插件管理器...", + "command.exportDocument": "Lua: 导出文档...", "config.IntelliSense.traceBeSetted": "请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)了解用法。", "config.IntelliSense.traceFieldInject": "请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)了解用法。", "config.IntelliSense.traceLocalSet": "请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)了解用法。", "config.IntelliSense.traceReturn": "请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)了解用法。", + "config.addonManager.enable": "", "config.codeLens.enable": "启用代码度量。", "config.color.mode": "着色模式。", "config.color.mode.Grammar": "语法着色。", @@ -219,4 +220,4 @@ "config.workspace.supportScheme": "为以下 scheme 的lua文件提供语言服务。", "config.workspace.useGitIgnore": "忽略 `.gitignore` 中列举的文件。", "config.workspace.userThirdParty": "在这里添加私有的第三方库适配文件路径,请参考内置的[配置文件路径](https://github.com/LuaLS/lua-language-server/tree/master/meta/3rd)" -} +} \ No newline at end of file diff --git a/package.nls.zh-tw.json b/package.nls.zh-tw.json index 14537dd..ba568fd 100644 --- a/package.nls.zh-tw.json +++ b/package.nls.zh-tw.json @@ -1,10 +1,11 @@ { - "command.exportDocument": "Export Document ...", - "config.addonManager.enable": "Set the on/off state for the addon manager.", + "command.addon_manager.open": "Lua: Open Addon Manager ...", + "command.exportDocument": "Lua: Export Document ...", "config.IntelliSense.traceBeSetted": "請查閱[文件](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。", "config.IntelliSense.traceFieldInject": "請查閱[文件](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。", "config.IntelliSense.traceLocalSet": "請查閱[文件](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。", "config.IntelliSense.traceReturn": "請查閱[文件](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。", + "config.addonManager.enable": "", "config.codeLens.enable": "Enable code lens.", "config.color.mode": "著色模式。", "config.color.mode.Grammar": "語法著色。", @@ -219,4 +220,4 @@ "config.workspace.supportScheme": "為以下 `scheme` 的lua檔案提供語言伺服。", "config.workspace.useGitIgnore": "忽略 `.gitignore` 中列舉的檔案。", "config.workspace.userThirdParty": "在這裡添加私有的第三方庫適應檔案路徑,請參考內建的[組態檔案路徑](https://github.com/LuaLS/lua-language-server/tree/master/meta/3rd)" -} +} \ No newline at end of file diff --git a/package/build.lua b/package/build.lua index 7cc74f7..572e90f 100644 --- a/package/build.lua +++ b/package/build.lua @@ -1,6 +1,6 @@ local json = require 'json-beautify' -local VERSION = "3.6.11" +local VERSION = "3.6.12" local package = require 'package.package' local fsu = require 'fs-utility' diff --git a/server b/server index 21420c9..b518799 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit 21420c986d807a55e22dd9b4261c3e3279a19eb0 +Subproject commit b5187993b553d11b89c9dca70f509cd45a4b7f72 diff --git a/setting/schema-pt-br.json b/setting/schema-pt-br.json index d326e74..48e84bb 100644 --- a/setting/schema-pt-br.json +++ b/setting/schema-pt-br.json @@ -9,8 +9,8 @@ } }, "addonManager.enable": { - "default": true, - "markdownDescription": "Set the on/off state for the addon manager.", + "default": false, + "markdownDescription": "", "scope": "resource", "type": "boolean" }, @@ -3149,4 +3149,4 @@ }, "title": "setting", "type": "object" -} +} \ No newline at end of file diff --git a/setting/schema-zh-cn.json b/setting/schema-zh-cn.json index 43652de..2a50b8e 100644 --- a/setting/schema-zh-cn.json +++ b/setting/schema-zh-cn.json @@ -9,8 +9,8 @@ } }, "addonManager.enable": { - "default": true, - "markdownDescription": "Set the on/off state for the addon manager.", + "default": false, + "markdownDescription": "", "scope": "resource", "type": "boolean" }, @@ -3149,4 +3149,4 @@ }, "title": "setting", "type": "object" -} +} \ No newline at end of file diff --git a/setting/schema-zh-tw.json b/setting/schema-zh-tw.json index 2270ca3..86c021d 100644 --- a/setting/schema-zh-tw.json +++ b/setting/schema-zh-tw.json @@ -9,8 +9,8 @@ } }, "addonManager.enable": { - "default": true, - "markdownDescription": "Set the on/off state for the addon manager.", + "default": false, + "markdownDescription": "", "scope": "resource", "type": "boolean" }, @@ -3149,4 +3149,4 @@ }, "title": "setting", "type": "object" -} +} \ No newline at end of file diff --git a/setting/schema.json b/setting/schema.json index c507ce9..4bf7cf0 100644 --- a/setting/schema.json +++ b/setting/schema.json @@ -9,8 +9,8 @@ } }, "addonManager.enable": { - "default": true, - "markdownDescription": "Set the on/off state for the addon manager.", + "default": false, + "markdownDescription": "", "scope": "resource", "type": "boolean" }, @@ -3149,4 +3149,4 @@ }, "title": "setting", "type": "object" -} +} \ No newline at end of file -- GitLab