src/vs/workbench/common/editor/editorInput.ts/EditorInput/prefersEditorPane
class EditorInput:	prefersEditorPane<T extends IEditorDescriptor<IEditorPane>>(editorPanes: T[]): T | undefined {
		return firstOrDefault(editorPanes);
	}