提交 b68f5542 编写于 作者: E Erich Gamma

Temporary fix for #31972

上级 c4c66d8b
......@@ -827,11 +827,12 @@ export class ChangeModeAction extends Action {
let galleryAction: Action;
if (fileResource) {
const ext = paths.extname(fileResource.fsPath) || paths.basename(fileResource.fsPath);
galleryAction = this.instantiationService.createInstance(ShowLanguageExtensionsAction, ext);
if (galleryAction.enabled) {
picks.unshift(galleryAction);
}
// Disabled see issue https://github.com/Microsoft/vscode/issues/31972
//
// galleryAction = this.instantiationService.createInstance(ShowLanguageExtensionsAction, ext);
// if (galleryAction.enabled) {
// picks.unshift(galleryAction);
// }
configureModeSettings = { label: nls.localize('configureModeSettings', "Configure '{0}' language based settings...", currentModeId) };
picks.unshift(configureModeSettings);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册