src/vs/workbench/contrib/customEditor/common/customEditor.ts/CustomEditorInfo/matches
class CustomEditorInfo:	matches(resource: URI): boolean {
		return this.selector.some(selector => selector.filenamePattern && globMatchesResource(selector.filenamePattern, resource));
	}