src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts/FileEditorInput/resolve
class FileEditorInput:	override resolve(): Promise<ITextFileEditorModel | BinaryEditorModel> {

		// Resolve as binary
		if (this.forceOpenAs === ForceOpenAs.Binary) {
			return this.doResolveAsBinary();
		}

		// Resolve as text
		return this.doResolveAsText();
	}