This commit is contained in:
xuewei 2022-11-08 11:11:05 +08:00
parent 5c62a6ede5
commit 6020c811bc
4 changed files with 8 additions and 5 deletions

View File

@ -80,5 +80,7 @@
"treeview.host.state.error": "error",
"tasks.quickpick.detail": "Distributed build",
"tasks.quickpick.placeHolder": "Please select a task",
"commands.distbuild.compilerPath": "Compiler path"
"commands.distbuild.compilerPath": "Compiler path",
"treeview.setcompilerpath.inputbox.title": "Set compiler path",
"treeview.setcompilerpath.inputbox.placeholder": "default: /usr/bin"
}

View File

@ -81,5 +81,7 @@
"treeview.host.state.error": "服务异常",
"tasks.quickpick.detail": "分布式构建",
"tasks.quickpick.placeHolder": "请选择一个任务",
"commands.distbuild.compilerPath": "编译器路径"
"commands.distbuild.compilerPath": "编译器路径",
"treeview.setcompilerpath.inputbox.title": "设置编译器路径",
"treeview.setcompilerpath.inputbox.placeholder": "默认值: /usr/bin"
}

View File

@ -169,8 +169,8 @@ export class DistBuildHostManager {
}
public showCompilerPathInput() {
let opt: vscode.InputBoxOptions = {
title: localize(''),
placeHolder: localize(''),
title: localize('treeview.setcompilerpath.inputbox.title'),
placeHolder: localize('treeview.setcompilerpath.inputbox.placeholder'),
value: this._envConfig.compilerPath
}
return new Promise((res, rej) => {

View File

@ -5,7 +5,6 @@ import { DistBuildTaskProvider } from './DistBuildTaskProvider';
import { ParseDistHostStr } from './Utils';
import { removeDistHost } from './SSHClient'
import localize from './localize';
import { SettingPanel } from './SettingPanel';
export class DistBuildTreeItem extends vscode.TreeItem {
constructor(
public readonly label: string,