Skip to content

Make file extension matching to content types case-insensitive

Bugzilla Link 571676
Status NEW
Importance P3 normal
Reported Mar 04, 2021 02:57 EDT
Modified May 07, 2024 00:54 EDT
Version 0.11.0
Reporter Balazs Varnai

Description

In org.eclipse.sphinx.emf.scoping.AbstractResourceScopeProviderhasApplicableFileExtension(IFile) matching the file extension to the extensions associated with one of the content types that are supported by the metamodel descriptor is case-sensitive.

Proposal is to ignore an input file extension case, for example .dsl, .DSL, .Dsl, etc. extensions should be accepted, while only .dsl is registered, then also convert the file extension list to lower case.