src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts/FileEditorInput/setPreferredContents
class FileEditorInput:	setPreferredContents(contents: string): void {
		this.preferredContents = contents;

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