src/vs/workbench/common/editor/diffEditorInput.ts/DiffEditorInput/prefersEditor
class DiffEditorInput:	override prefersEditor<T extends IEditorDescriptor<IEditorPane>>(editors: T[]): T | undefined {
		if (this.forceOpenAsBinary) {
			return editors.find(editor => editor.typeId === BINARY_DIFF_EDITOR_ID);
		}

		return editors.find(editor => editor.typeId === TEXT_DIFF_EDITOR_ID);
	}