eclipse-tm4e / tm4e

TextMate support in Eclipse IDE
https://projects.eclipse.org/projects/technology.tm4e
Eclipse Public License 2.0
94 stars 57 forks source link

fix: content type mapping of file extension with dots #689

Closed sebthom closed 9 months ago

sebthom commented 9 months ago

<content-type file-extension="..."> cannot handle file extension that contain a dot, e.g. "css.map" or "eslintrc.json".

This commit changes the langpack updater so that such file extensions are converted to glob patterns like "*.css.map" and registered via <content-type file-pattern="..."> instead.