提交 e9a80467 编写于 作者: B Benjamin Pasero

file path to language association settings need window reload to work for...

file path to language association settings need window reload to work for existing files (fixes #4193)
上级 81c4ddb3
......@@ -681,7 +681,7 @@ export class ChangeModeAction extends Action {
const action = this.instantiationService.createInstance(OpenGlobalSettingsAction, OpenGlobalSettingsAction.ID, OpenGlobalSettingsAction.LABEL);
action.run().done(() => action.dispose(), errors.onUnexpectedError);
this.messageService.show(Severity.Info, nls.localize('persistFileAssociations', "You can configure filename to language associations in the **files.associations** section"));
this.messageService.show(Severity.Info, nls.localize('persistFileAssociations', "You can configure filename to language associations in the **files.associations** section. The changes may need a restart to take effect on already opened files."));
} else {
mode = this.modeService.getOrCreateModeByLanguageName(language.label);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册