src/vs/workbench/browser/editor.ts/EditorRegistry/getEditor
class EditorRegistry:	getEditor(input: EditorInput): EditorDescriptor | undefined {
		const descriptors = this.findEditorDescriptors(input);

		if (descriptors.length === 0) {
			return undefined;
		}

		if (descriptors.length === 1) {
			return descriptors[0];
		}

		return input.prefersEditor(descriptors);
	}