Skip to content

Commit

Permalink
Use description to indicate current window
Browse files Browse the repository at this point in the history
  • Loading branch information
heycalmdown committed Oct 3, 2016
1 parent bcfc586 commit e8c8407
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vs/workbench/electron-browser/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e8c8407

Please sign in to comment.