src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts/FileEditorInput/setPreferredMode
class FileEditorInput:	setPreferredMode(mode: string): void {
		this.preferredMode = mode;

		// mode is a good hint to open the file as text
		this.setForceOpenAsText();
	}