Skip to content

Commit 4f319cb

Browse files
committed
Add the formatter's extensionId as the description when picking a formatter.
1 parent 0ab39f4 commit 4f319cb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/vs/workbench/contrib/format/browser/formatActionsMultiple.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ class DefaultFormatter extends Disposable implements IWorkbenchContribution {
127127
const picks = formatter.map((formatter, index) => {
128128
return <IIndexedPick>{
129129
index,
130-
label: formatter.displayName || formatter.extensionId || '?'
130+
label: formatter.displayName || formatter.extensionId || '?',
131+
description: formatter.extensionId || undefined
131132
};
132133
});
133134
const langName = this._modeService.getLanguageName(document.getModeId()) || document.getModeId();

0 commit comments

Comments
 (0)