未验证 提交 7db4e8bc 编写于 作者: C Connor Shea

Get the value of extensionId rather than the extensionId itself.

上级 4f319cb9
...@@ -128,7 +128,7 @@ class DefaultFormatter extends Disposable implements IWorkbenchContribution { ...@@ -128,7 +128,7 @@ class DefaultFormatter extends Disposable implements IWorkbenchContribution {
return <IIndexedPick>{ return <IIndexedPick>{
index, index,
label: formatter.displayName || formatter.extensionId || '?', label: formatter.displayName || formatter.extensionId || '?',
description: formatter.extensionId || undefined description: formatter.extensionId!.value
}; };
}); });
const langName = this._modeService.getLanguageName(document.getModeId()) || document.getModeId(); const langName = this._modeService.getLanguageName(document.getModeId()) || document.getModeId();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册