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