提交 e8c84077 编写于 作者: H heycalmdown

Use description to indicate current window

上级 bcfc5863
......@@ -96,7 +96,8 @@ export class SwitchWindow extends Action {
ipc.once('vscode:switchWindow', (event, workspaces) => {
const picks: IPickOpenEntry[] = workspaces.map(w => {
return {
label: (id === w.id) && `${w.title} ✓` || w.title,
label: w.title,
description: (id === w.id) ? nls.localize('current', "Current Window") : void 0,
run: () => {
ipc.send('vscode:showWindow', w.id);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册