fixed:插件详情页中需要重新加载按钮的悬浮提示等信息IDE名称改为Kylin-Code.
This commit is contained in:
parent
9d2ba1b36c
commit
c1c8e7db12
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Abyss Theme",
|
||||
"description": "Abyss theme for Visual Studio Code",
|
||||
"description": "Abyss theme for Kylin-Code",
|
||||
"themeLabel": "Abyss"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Kimbie Dark Theme",
|
||||
"description": "Kimbie dark theme for Visual Studio Code",
|
||||
"description": "Kimbie dark theme for Kylin-Code",
|
||||
"themeLabel": "Kimbie Dark"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Monokai Dimmed Theme",
|
||||
"description": "Monokai dimmed theme for Visual Studio Code",
|
||||
"description": "Monokai dimmed theme for Kylin-Code",
|
||||
"themeLabel": "Monokai Dimmed"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Monokai Theme",
|
||||
"description": "Monokai theme for Visual Studio Code",
|
||||
"description": "Monokai theme for Kylin-Code",
|
||||
"themeLabel": "Monokai"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Quiet Light Theme",
|
||||
"description": "Quiet light theme for Visual Studio Code",
|
||||
"description": "Quiet light theme for Kylin-Code",
|
||||
"themeLabel": "Quiet Light"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Red Theme",
|
||||
"description": "Red theme for Visual Studio Code",
|
||||
"description": "Red theme for Kylin-Code",
|
||||
"themeLabel": "Red"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Solarized Dark Theme",
|
||||
"description": "Solarized dark theme for Visual Studio Code",
|
||||
"description": "Solarized dark theme for Kylin-Code",
|
||||
"themeLabel": "Solarized Dark"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Solarized Light Theme",
|
||||
"description": "Solarized light theme for Visual Studio Code",
|
||||
"description": "Solarized light theme for Kylin-Code",
|
||||
"themeLabel": "Solarized Light"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"displayName": "Tomorrow Night Blue Theme",
|
||||
"description": "Tomorrow night blue theme for Visual Studio Code",
|
||||
"description": "Tomorrow night blue theme for Kylin-Code",
|
||||
"themeLabel": "Tomorrow Night Blue"
|
||||
}
|
||||
|
|
|
@ -229,7 +229,7 @@
|
|||
"configuration.tsserver.nodePath": "Run TS Server on a custom Node installation. This can be a path to a Node executable, or 'node' if you want Kylin-Code to detect a Node installation.",
|
||||
"configuration.experimental.tsserver.web.typeAcquisition.enabled": "Enable/disable package acquisition on the web.",
|
||||
"walkthroughs.nodejsWelcome.title": "Get started with JavaScript and Node.js",
|
||||
"walkthroughs.nodejsWelcome.description": "Make the most of Visual Studio Code's first-class JavaScript experience.",
|
||||
"walkthroughs.nodejsWelcome.description": "Make the most of Kylin-Code's first-class JavaScript experience.",
|
||||
"walkthroughs.nodejsWelcome.downloadNode.forMacOrWindows.title": "Install Node.js",
|
||||
"walkthroughs.nodejsWelcome.downloadNode.forMacOrWindows.description": "Node.js is an easy way to run JavaScript code. You can use it to quickly build command-line apps and servers. It also comes with npm, a package manager which makes reusing and sharing JavaScript code easy.\n[Install Node.js](https://nodejs.org/en/download/)",
|
||||
"walkthroughs.nodejsWelcome.downloadNode.forLinux.title": "Install Node.js",
|
||||
|
@ -238,8 +238,8 @@
|
|||
"walkthroughs.nodejsWelcome.makeJsFile.description": "Let's write our first JavaScript file. We'll have to create a new file and save it with the ``.js`` extension at the end of the file name.\n[Create a JavaScript File](command:javascript-walkthrough.commands.createJsFile)",
|
||||
"walkthroughs.nodejsWelcome.debugJsFile.title": "Run and Debug your JavaScript",
|
||||
"walkthroughs.nodejsWelcome.debugJsFile.description": "Once you've installed Node.js, you can run JavaScript programs at a terminal by entering ``node your-file-name.js``\nAnother easy way to run Node.js programs is by using Kylin-Code's debugger which lets you run your code, pause at different points, and help you understand what's going on step-by-step.\n[Start Debugging](command:javascript-walkthrough.commands.debugJsFile)",
|
||||
"walkthroughs.nodejsWelcome.debugJsFile.altText": "Debug and run your JavaScript code in Node.js with Visual Studio Code.",
|
||||
"walkthroughs.nodejsWelcome.debugJsFile.altText": "Debug and run your JavaScript code in Node.js with Kylin-Code.",
|
||||
"walkthroughs.nodejsWelcome.learnMoreAboutJs.title": "Explore More",
|
||||
"walkthroughs.nodejsWelcome.learnMoreAboutJs.description": "Want to get more comfortable with JavaScript, Node.js, and Kylin-Code? Be sure to check out our docs!\nWe've got lots of resources for learning [JavaScript](https://code.visualstudio.com/docs/nodejs/working-with-javascript) and [Node.js](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial).\n\n[Learn More](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial)",
|
||||
"walkthroughs.nodejsWelcome.learnMoreAboutJs.altText": "Learn more about JavaScript and Node.js in Visual Studio Code."
|
||||
"walkthroughs.nodejsWelcome.learnMoreAboutJs.altText": "Learn more about JavaScript and Node.js in Kylin-Code."
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Abyss 主题",
|
||||
"description": "适用于 Kylin-Code 的 Abyss 主题",
|
||||
"displayName": "Abyss 主题",
|
||||
"themeLabel": "Abyss"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Kimbie dark 主题",
|
||||
"description": "适用于 Kylin-Code 的 Kimbie dark 主题",
|
||||
"displayName": "Kimbie Dark 主题",
|
||||
"themeLabel": "Kimbie Dark"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Monokai dimmed 主题",
|
||||
"description": "适用于 Kylin-Code 的 Monokai dimmed 主题",
|
||||
"displayName": "Monokai Dimmed 主题",
|
||||
"themeLabel": "Monokai Dimmed"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Monokai 主题",
|
||||
"description": "适用于 Kylin-Code 的 Monokai 主题",
|
||||
"displayName": "Monokai 主题",
|
||||
"themeLabel": "Monokai"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Quiet light 主题",
|
||||
"description": "适用于 Kylin-Code 的 Quiet light 主题",
|
||||
"displayName": "Quiet Light 主题",
|
||||
"themeLabel": "Quiet Light"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Red 主题",
|
||||
"description": "适用于 Kylin-Code 的 Red 主题",
|
||||
"displayName": "Red 主题",
|
||||
"themeLabel": "红色"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Solarized dark 主题",
|
||||
"description": "适用于 Kylin-Code 的 Solarized dark 主题",
|
||||
"displayName": "Solarized Dark 主题",
|
||||
"themeLabel": "Solarized Dark"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Solarized light 主题",
|
||||
"description": "适用于 Kylin-Code 的 Solarized light 主题",
|
||||
"displayName": "Solarized Light 主题",
|
||||
"themeLabel": "Solarized Light"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"version": "1.0.0",
|
||||
"contents": {
|
||||
"package": {
|
||||
"description": "适用于 Visual Studio Code 的 Tomorrow night blue 主题",
|
||||
"description": "适用于 Kylin-Code 的 Tomorrow night blue 主题",
|
||||
"displayName": "Tomorrow Night Blue 主题",
|
||||
"themeLabel": "Tomorrow Night Blue"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -332,15 +332,15 @@
|
|||
"typescript.workspaceSymbols.scope.allOpenProjects": "在所有打开的 JavaScript 或 TypeScript 项目中搜索符号。",
|
||||
"typescript.workspaceSymbols.scope.currentProject": "仅在当前 JavaScript 或 TypeScript 项目中搜索符号。",
|
||||
"virtualWorkspaces": "在虚拟工作区中,不支持解析和查找跨文件的引用。",
|
||||
"walkthroughs.nodejsWelcome.debugJsFile.altText": "使用 Visual Studio Code 在 Node.js 中调试并运行 JavaScript 代码。",
|
||||
"walkthroughs.nodejsWelcome.debugJsFile.altText": "使用 Kylin-Code 在 Node.js 中调试并运行 JavaScript 代码。",
|
||||
"walkthroughs.nodejsWelcome.debugJsFile.description": "安装 Node.js 后,可以在终端输入 ``node your-file-name.js`` 来运行 Node.js 程序\r\n另一个简单的方法是使用 Kylin-Code 调试器,它可以运行 Node.js 程序,在不同点暂停,并帮助你逐步了解执行的操作。\r\n[开始调试](命令: javascript-walkthrough.commands.debugJsFile)",
|
||||
"walkthroughs.nodejsWelcome.debugJsFile.title": "运行和调试 JavaScript",
|
||||
"walkthroughs.nodejsWelcome.description": "充分利用 Visual Studio Code 一流的 JavaScript 体验。",
|
||||
"walkthroughs.nodejsWelcome.description": "充分利用 Kylin-Code 一流的 JavaScript 体验。",
|
||||
"walkthroughs.nodejsWelcome.downloadNode.forLinux.description": "Node.js 是运行 JavaScript 代码的简单方法。可以使用它快速生成命令行应用和服务器。它还附带 npm,一个包管理器,可用来轻松重用和共享 JavaScript 代码。\r\n[安装 Node.js](https://nodejs.org/en/download/package-manager/)",
|
||||
"walkthroughs.nodejsWelcome.downloadNode.forLinux.title": "安装 Node.js",
|
||||
"walkthroughs.nodejsWelcome.downloadNode.forMacOrWindows.description": "Node.js 是运行 JavaScript 代码的简单方法。可以使用它快速生成命令行应用和服务器。它还附带 npm,一个包管理器,可用来轻松重用和共享 JavaScript 代码。\r\n[安装 Node.js](https://nodejs.org/en/download/)",
|
||||
"walkthroughs.nodejsWelcome.downloadNode.forMacOrWindows.title": "安装 Node.js",
|
||||
"walkthroughs.nodejsWelcome.learnMoreAboutJs.altText": "详细了解 Visual Studio Code 中的 JavaScript 和 Node.js。",
|
||||
"walkthroughs.nodejsWelcome.learnMoreAboutJs.altText": "详细了解 Kylin-Code 中的 JavaScript 和 Node.js。",
|
||||
"walkthroughs.nodejsWelcome.learnMoreAboutJs.description": "想要更舒适地使用 JavaScript、Node.js 和 Kylin-Code? 请务必看看我们的文档!\r\n我们有很多 [JavaScript](https://code.visualstudio.com/docs/nodejs/working-with-javascript) 和 [Node.js](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial)的学习资源。\r\n\r\n[详细了解](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial)",
|
||||
"walkthroughs.nodejsWelcome.learnMoreAboutJs.title": "浏览更多",
|
||||
"walkthroughs.nodejsWelcome.makeJsFile.description": "让我们来编写第一个 JavaScript 文件。我们必须创建一个新文件,并在文件名末尾使用 \".js\" 扩展名保存该文件。\r\n[创建 JavaScript 文件](命令: javascript-walkthrough.commands.createJsFile)",
|
||||
|
|
|
@ -2809,7 +2809,7 @@
|
|||
"similarIssues": "类似的问题",
|
||||
"stepsToReproduce": "重现步骤",
|
||||
"unknown": "不知道",
|
||||
"vscode": "Visual Studio Code"
|
||||
"vscode": "Kylin-Code"
|
||||
},
|
||||
"vs/code/electron-sandbox/processExplorer/processExplorerMain": {
|
||||
"copy": "复制",
|
||||
|
@ -6534,7 +6534,7 @@
|
|||
"InstallFromVSIX": "从 VSIX 安装…",
|
||||
"InstallVSIXAction.reloadNow": "立即重载",
|
||||
"InstallVSIXAction.success": "已完成从 VSIX 安装 {0} 扩展的过程。",
|
||||
"InstallVSIXAction.successReload": "已完成从 VSIX 安装 {0} 扩展的过程。请重新加载 Visual Studio Code 以启用它。",
|
||||
"InstallVSIXAction.successReload": "已完成从 VSIX 安装 {0} 扩展的过程。请重新加载 Kylin-Code 以启用它。",
|
||||
"all": "所有扩展",
|
||||
"builtin": "扩展“{0}”是内置扩展,无法安装",
|
||||
"builtin filter": "内置",
|
||||
|
@ -6679,7 +6679,7 @@
|
|||
"InstallVSIXAction.reloadNow": "立即重新加载",
|
||||
"OpenExtensionsFile.failed": "无法在 \".vscode\" 文件夹({0})内创建 \"extensions.json\" 文件。",
|
||||
"ReinstallAction.success": "扩展 {0} 重新安装完毕。",
|
||||
"ReinstallAction.successReload": "请重新加载 Visual Studio Code 以完成扩展 {0} 的重新安装。",
|
||||
"ReinstallAction.successReload": "请重新加载 Kylin-Code 以完成扩展 {0} 的重新安装。",
|
||||
"Show alternate extension": "打开 {0}(&&O)",
|
||||
"Uninstalling": "正在卸载",
|
||||
"Kylin-Code for Web": "{0} Web 版",
|
||||
|
@ -6800,7 +6800,7 @@
|
|||
"togglePreRleaseLabel": "预发布",
|
||||
"undo": "撤消",
|
||||
"uninstallAction": "卸载",
|
||||
"uninstallExtensionComplete": "请重新加载 Visual Studio Code 以完成对扩展 {0} 的卸载。",
|
||||
"uninstallExtensionComplete": "请重新加载 Kylin-Code 以完成对扩展 {0} 的卸载。",
|
||||
"uninstallExtensionStart": "开始卸载扩展{0}。",
|
||||
"uninstalled": "已卸载",
|
||||
"update": "更新",
|
||||
|
@ -6945,18 +6945,18 @@
|
|||
"vs/workbench/contrib/extensions/browser/extensionsWorkbenchService": {
|
||||
"Manifest is not found": "未找到清单文件",
|
||||
"disable all": "全部禁用",
|
||||
"enable locally": "请重载 Visual Studio Code 以在本地启用此扩展。",
|
||||
"enable remote": "请重载 Visual Studio Code 以在 {0} 中启用此扩展。",
|
||||
"enable locally": "请重载 Kylin-Code 以在本地启用此扩展。",
|
||||
"enable remote": "请重载 Kylin-Code 以在 {0} 中启用此扩展。",
|
||||
"incompatible": "无法安装“{0}”扩展,因为它不兼容。",
|
||||
"installing extension": "正在安装扩展...",
|
||||
"installing named extension": "正在安装 \"{0}\" 扩展...",
|
||||
"malicious": "报告称该扩展存在问题。",
|
||||
"multipleDependentsError": "无法单独禁用 \"{0}\" 扩展。\"{1}\"、\"{2}\" 和其他扩展依赖于此扩展。要禁用所有这些扩展吗?",
|
||||
"not found": "无法安装扩展“{0}”,因为找不到请求的版本“{1}”。",
|
||||
"postDisableTooltip": "请重新加载 Visual Studio Code 以禁用此扩展。",
|
||||
"postEnableTooltip": "请重新加载 Visual Studio Code 以启用此扩展。",
|
||||
"postUninstallTooltip": "请重新加载 Visual Studio Code 以完成此扩展的卸载。",
|
||||
"postUpdateTooltip": "请重新启动 Visual Studio Code 以完成对此扩展的更新。",
|
||||
"postDisableTooltip": "请重新加载 Kylin-Code 以禁用此扩展。",
|
||||
"postEnableTooltip": "请重新加载 Kylin-Code 以启用此扩展。",
|
||||
"postUninstallTooltip": "请重新加载 Kylin-Code 以完成此扩展的卸载。",
|
||||
"postUpdateTooltip": "请重新启动 Kylin-Code 以完成对此扩展的更新。",
|
||||
"singleDependentError": "无法单独禁用 \"{0}\" 扩展。\"{1}\" 扩展依赖于此扩展。要禁用所有这些扩展吗?",
|
||||
"twoDependentsError": "无法单独禁用 \"{0}\" 扩展。\"{1}\" 和 \"{2}\" 扩展依赖于此扩展。要禁用所有这些扩展吗?",
|
||||
"uninstallingExtension": "正在卸载扩展..."
|
||||
|
@ -11528,7 +11528,7 @@
|
|||
"manage extension": "管理扩展",
|
||||
"manageExtensionIcon": "主题选择快速选取中“管理”操作的图标。",
|
||||
"miSelectTheme": "&&主题",
|
||||
"newThemeNotification": "Visual Studio Code 现在附带新的默认主题“{0}”。是否要试一试?",
|
||||
"newThemeNotification": "Kylin-Code 现在附带新的默认主题“{0}”。是否要试一试?",
|
||||
"noIconThemeDesc": "禁用文件图标",
|
||||
"noIconThemeLabel": "无",
|
||||
"productIconThemeCategory": "产品图标主题",
|
||||
|
@ -11536,7 +11536,7 @@
|
|||
"selectIconTheme.label": "文件图标主题",
|
||||
"selectProductIconTheme.label": "产品图标主题",
|
||||
"selectTheme.label": "颜色主题",
|
||||
"themeUpdatedNotification": "Visual Studio Code 现在附带新的默认主题“{0}”。如果愿意,可以切换回旧主题或尝试其他许多可用颜色主题之一。",
|
||||
"themeUpdatedNotification": "Kylin-Code 现在附带新的默认主题“{0}”。如果愿意,可以切换回旧主题或尝试其他许多可用颜色主题之一。",
|
||||
"themes": "主题",
|
||||
"themes.category.dark": "深色主题",
|
||||
"themes.category.hc": "高对比度主题",
|
||||
|
|
|
@ -133,15 +133,15 @@ suite('Labels', () => {
|
|||
// real world example (other)
|
||||
t = '${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}';
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: '', separator: { label: ' - ' } }), '');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'Visual Studio Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: 'Untitled-1', rootName: '', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'Untitled-1 - Visual Studio Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: 'monaco', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'monaco - Visual Studio Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: 'somefile.txt', rootName: 'monaco', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'somefile.txt - monaco - Visual Studio Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '* ', activeEditorShort: 'somefile.txt', rootName: 'monaco', appName: 'Visual Studio Code', separator: { label: ' - ' } }), '* somefile.txt - monaco - Visual Studio Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'Kylin-Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: 'Untitled-1', rootName: '', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'Untitled-1 - Kylin-Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: 'monaco', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'monaco - Kylin-Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: 'somefile.txt', rootName: 'monaco', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'somefile.txt - monaco - Kylin-Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '* ', activeEditorShort: 'somefile.txt', rootName: 'monaco', appName: 'Kylin-Code', separator: { label: ' - ' } }), '* somefile.txt - monaco - Kylin-Code');
|
||||
|
||||
// real world example (other)
|
||||
t = '${dirty}${activeEditorShort}${separator}${rootNameShort}${separator}${appName}';
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: 'monaco (Workspace)', rootNameShort: 'monaco', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'monaco - Visual Studio Code');
|
||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: 'monaco (Workspace)', rootNameShort: 'monaco', appName: 'Kylin-Code', separator: { label: ' - ' } }), 'monaco - Kylin-Code');
|
||||
});
|
||||
|
||||
test('mnemonicButtonLabel', () => {
|
||||
|
|
|
@ -727,7 +727,7 @@ export class IssueReporter extends Disposable {
|
|||
|
||||
sourceSelect.innerText = '';
|
||||
sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true));
|
||||
sourceSelect.append(this.makeOption('vscode', localize('vscode', "Visual Studio Code"), false));
|
||||
sourceSelect.append(this.makeOption('vscode', localize('vscode', "Kylin-Code"), false));
|
||||
sourceSelect.append(this.makeOption('extension', localize('extension', "An extension"), false));
|
||||
if (this.configuration.product.reportMarketplaceIssueUrl) {
|
||||
sourceSelect.append(this.makeOption('marketplace', localize('marketplace', "Extensions marketplace"), false));
|
||||
|
|
|
@ -88,7 +88,7 @@ const cliStdInFilePath = process.env['VSCODE_STDIN_FILE_PATH'] as string;
|
|||
|
||||
export async function main(desc: ProductDescription, args: string[]): Promise<void> {
|
||||
if (!cliPipe && !cliCommand) {
|
||||
console.log('Command is only available in WSL or inside a Visual Studio Code terminal.');
|
||||
console.log('Command is only available in WSL or inside a Kylin-Code terminal.');
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1008,7 +1008,7 @@ suite('ReloadAction', () => {
|
|||
didInstallEvent.fire([{ identifier: gallery.identifier, source: gallery, operation: InstallOperation.Install, local: aLocalExtension('a', gallery, gallery) }]);
|
||||
await promise;
|
||||
assert.ok(testObject.enabled);
|
||||
assert.strictEqual(testObject.tooltip, 'Please reload Visual Studio Code to enable this extension.');
|
||||
assert.strictEqual(testObject.tooltip, 'Please reload Kylin-Code to enable this extension.');
|
||||
});
|
||||
|
||||
test('Test ReloadAction when extension is newly installed and reload is not required', async () => {
|
||||
|
@ -1076,7 +1076,7 @@ suite('ReloadAction', () => {
|
|||
uninstallEvent.fire({ identifier: local.identifier });
|
||||
didUninstallEvent.fire({ identifier: local.identifier });
|
||||
assert.ok(testObject.enabled);
|
||||
assert.strictEqual(testObject.tooltip, 'Please reload Visual Studio Code to complete the uninstallation of this extension.');
|
||||
assert.strictEqual(testObject.tooltip, 'Please reload Kylin-Code to complete the uninstallation of this extension.');
|
||||
});
|
||||
|
||||
test('Test ReloadAction when extension is uninstalled and can be removed', async () => {
|
||||
|
@ -1144,7 +1144,7 @@ suite('ReloadAction', () => {
|
|||
|
||||
return new Promise<void>(c => {
|
||||
disposables.add(testObject.onDidChange(() => {
|
||||
if (testObject.enabled && testObject.tooltip === 'Please reload Visual Studio Code to enable the updated extension.') {
|
||||
if (testObject.enabled && testObject.tooltip === 'Please reload Kylin-Code to enable the updated extension.') {
|
||||
c();
|
||||
}
|
||||
}));
|
||||
|
@ -1198,7 +1198,7 @@ suite('ReloadAction', () => {
|
|||
await testObject.update();
|
||||
|
||||
assert.ok(testObject.enabled);
|
||||
assert.strictEqual('Please reload Visual Studio Code to disable this extension.', testObject.tooltip);
|
||||
assert.strictEqual('Please reload Kylin-Code to disable this extension.', testObject.tooltip);
|
||||
});
|
||||
|
||||
test('Test ReloadAction when extension enablement is toggled when running', async () => {
|
||||
|
@ -1241,7 +1241,7 @@ suite('ReloadAction', () => {
|
|||
await workbenchService.setEnablement(extensions[0], EnablementState.EnabledGlobally);
|
||||
await testObject.update();
|
||||
assert.ok(testObject.enabled);
|
||||
assert.strictEqual('Please reload Visual Studio Code to enable this extension.', testObject.tooltip);
|
||||
assert.strictEqual('Please reload Kylin-Code to enable this extension.', testObject.tooltip);
|
||||
});
|
||||
|
||||
test('Test ReloadAction when extension enablement is toggled when not running', async () => {
|
||||
|
@ -1288,7 +1288,7 @@ suite('ReloadAction', () => {
|
|||
await workbenchService.setEnablement(extensions[0], EnablementState.EnabledGlobally);
|
||||
await testObject.update();
|
||||
assert.ok(testObject.enabled);
|
||||
assert.strictEqual('Please reload Visual Studio Code to enable this extension.', testObject.tooltip);
|
||||
assert.strictEqual('Please reload Kylin-Code to enable this extension.', testObject.tooltip);
|
||||
});
|
||||
|
||||
test('Test ReloadAction when a localization extension is newly installed', async () => {
|
||||
|
@ -1439,7 +1439,7 @@ suite('ReloadAction', () => {
|
|||
|
||||
await promise;
|
||||
assert.ok(testObject.enabled);
|
||||
assert.strictEqual(testObject.tooltip, 'Please reload Visual Studio Code to enable this extension.');
|
||||
assert.strictEqual(testObject.tooltip, 'Please reload Kylin-Code to enable this extension.');
|
||||
});
|
||||
|
||||
test('Test ReloadAction when ui extension is disabled on remote server and installed in local server', async () => {
|
||||
|
@ -1478,7 +1478,7 @@ suite('ReloadAction', () => {
|
|||
|
||||
await promise;
|
||||
assert.ok(testObject.enabled);
|
||||
assert.strictEqual(testObject.tooltip, 'Please reload Visual Studio Code to enable this extension.');
|
||||
assert.strictEqual(testObject.tooltip, 'Please reload Kylin-Code to enable this extension.');
|
||||
});
|
||||
|
||||
test('Test ReloadAction for remote ui extension is disabled when it is installed and enabled in local server', async () => {
|
||||
|
|
Loading…
Reference in New Issue