diff --git a/client/src/languageserver.ts b/client/src/languageserver.ts index 6894fdef59b585440c52ef35aa084a033dbcc94c..28f83b213d9eaf53ce134d01139421ee89e0ac69 100644 --- a/client/src/languageserver.ts +++ b/client/src/languageserver.ts @@ -58,7 +58,7 @@ function registerCustomCommands(context: ExtensionContext) { 'server', 'log', ), - openLabel: "Export documents to this folder", + openLabel: "Export to this folder", canSelectFiles: false, canSelectFolders: true, canSelectMany: false, diff --git a/package.json b/package.json index 0b5fa254eecd32209d159c600860263aac9a43ee..10a294d83718eef179e09f9f07bacb562b67a8b7 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, { "command": "lua.exportDocument", - "title": "Export Document" + "title": "%command.exportDocument%" } ], "configuration": { diff --git a/package.nls.json b/package.nls.json index 2341f38be6e8e273cd492d2b61307b15d3b6a020..55186fb22832bce214a5135ad09711bf5f013fc0 100644 --- a/package.nls.json +++ b/package.nls.json @@ -1,4 +1,5 @@ { + "command.exportDocument": "Export Document ...", "config.IntelliSense.traceBeSetted": "Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceFieldInject": "Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceLocalSet": "Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index c01e44560cbbd54676c53e082c5f6a511c8bbc79..5c8929857a49138aec659b728a4940c3395e13c4 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -1,4 +1,5 @@ { + "command.exportDocument": "Export Document ...", "config.IntelliSense.traceBeSetted": "Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceFieldInject": "Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", "config.IntelliSense.traceLocalSet": "Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.", diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index b05a39f046ef09735dd5f8b4b6a50f60155312d3..32dc9b040d55d3235b2e68ee273f62cd01555330 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -1,4 +1,5 @@ { + "command.exportDocument": "导出文档...", "config.IntelliSense.traceBeSetted": "请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。", "config.IntelliSense.traceFieldInject": "请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。", "config.IntelliSense.traceLocalSet": "请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。", diff --git a/package.nls.zh-tw.json b/package.nls.zh-tw.json index d34d5c3df6bacd46e6500d99f58c72773f407e6d..e273c17622636956f75f32ce5319cd4ccf84858f 100644 --- a/package.nls.zh-tw.json +++ b/package.nls.zh-tw.json @@ -1,4 +1,5 @@ { + "command.exportDocument": "Export Document ...", "config.IntelliSense.traceBeSetted": "請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。", "config.IntelliSense.traceFieldInject": "請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。", "config.IntelliSense.traceLocalSet": "請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。", diff --git a/package/package.lua b/package/package.lua index 0cec6152d14ee50945b0b7b6fe12a27be50d1220..841bce7f473298f73e71b691a62699e43886e36b 100644 --- a/package/package.lua +++ b/package/package.lua @@ -40,7 +40,7 @@ return { }, { command = "lua.exportDocument", - title = "Export Document", + title = "%command.exportDocument%", }, }, menus = { diff --git a/setting/schema-pt-br.json b/setting/schema-pt-br.json index 4839ea59309ed7ef9af9bede24ae8eaccb045d30..f36d8767282d1d6c0a81015a6c72a79366b274e9 100644 --- a/setting/schema-pt-br.json +++ b/setting/schema-pt-br.json @@ -3065,9 +3065,6 @@ "preloadFileSize": { "$ref": "#/properties/workspace.preloadFileSize" }, - "supportScheme": { - "$ref": "#/properties/workspace.supportScheme" - }, "useGitIgnore": { "$ref": "#/properties/workspace.useGitIgnore" }, @@ -3120,19 +3117,6 @@ "scope": "resource", "type": "integer" }, - "workspace.supportScheme": { - "default": [ - "file", - "untitled", - "git" - ], - "items": { - "type": "string" - }, - "markdownDescription": "Provide language server for the Lua files of the following scheme.", - "scope": "resource", - "type": "array" - }, "workspace.useGitIgnore": { "default": true, "markdownDescription": "Ignore files list in `.gitignore` .", diff --git a/setting/schema-zh-cn.json b/setting/schema-zh-cn.json index a6201186f350cc20f69ef6c40611223134dbe47c..8250f2f1a98e367c0c530f8db3e3143b94875c8e 100644 --- a/setting/schema-zh-cn.json +++ b/setting/schema-zh-cn.json @@ -3065,9 +3065,6 @@ "preloadFileSize": { "$ref": "#/properties/workspace.preloadFileSize" }, - "supportScheme": { - "$ref": "#/properties/workspace.supportScheme" - }, "useGitIgnore": { "$ref": "#/properties/workspace.useGitIgnore" }, @@ -3120,19 +3117,6 @@ "scope": "resource", "type": "integer" }, - "workspace.supportScheme": { - "default": [ - "file", - "untitled", - "git" - ], - "items": { - "type": "string" - }, - "markdownDescription": "为以下 scheme 的lua文件提供语言服务。", - "scope": "resource", - "type": "array" - }, "workspace.useGitIgnore": { "default": true, "markdownDescription": "忽略 `.gitignore` 中列举的文件。", diff --git a/setting/schema-zh-tw.json b/setting/schema-zh-tw.json index d67fdb7ece99f135bbe98e98598f0c11dc7272b1..ba406147b453e9360cf19fc4ef21291a59a00766 100644 --- a/setting/schema-zh-tw.json +++ b/setting/schema-zh-tw.json @@ -3065,9 +3065,6 @@ "preloadFileSize": { "$ref": "#/properties/workspace.preloadFileSize" }, - "supportScheme": { - "$ref": "#/properties/workspace.supportScheme" - }, "useGitIgnore": { "$ref": "#/properties/workspace.useGitIgnore" }, @@ -3120,19 +3117,6 @@ "scope": "resource", "type": "integer" }, - "workspace.supportScheme": { - "default": [ - "file", - "untitled", - "git" - ], - "items": { - "type": "string" - }, - "markdownDescription": "為以下 `scheme` 的lua檔案提供語言伺服。", - "scope": "resource", - "type": "array" - }, "workspace.useGitIgnore": { "default": true, "markdownDescription": "忽略 `.gitignore` 中列舉的檔案。", diff --git a/setting/schema.json b/setting/schema.json index f558dd9643ddf3489f1ca40bc789b5e03f5db598..373162658a0079e36e10bcb31b15fcaf8c7bbb66 100644 --- a/setting/schema.json +++ b/setting/schema.json @@ -3065,9 +3065,6 @@ "preloadFileSize": { "$ref": "#/properties/workspace.preloadFileSize" }, - "supportScheme": { - "$ref": "#/properties/workspace.supportScheme" - }, "useGitIgnore": { "$ref": "#/properties/workspace.useGitIgnore" }, @@ -3120,19 +3117,6 @@ "scope": "resource", "type": "integer" }, - "workspace.supportScheme": { - "default": [ - "file", - "untitled", - "git" - ], - "items": { - "type": "string" - }, - "markdownDescription": "Provide language server for the Lua files of the following scheme.", - "scope": "resource", - "type": "array" - }, "workspace.useGitIgnore": { "default": true, "markdownDescription": "Ignore files list in `.gitignore` .",