Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaaaash committed Apr 29, 2022
1 parent 4794910 commit e7b9854
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/editor/src/browser/format/formatterSelect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ export class FormattingSelector {
}

const selected = await this.quickPickService.show(
Object.keys(elements).map((k) => ({ label: elements[k].displayName!, value: elements[k].extensionId })),
Object.keys(elements).map((k) => ({
label: elements[k].displayName!,
value: elements[k].extensionId,
})),
{ placeholder: localize('editor.format.chooseFormatter') },
);
if (selected) {
Expand Down

0 comments on commit e7b9854

Please sign in to comment.