Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Need a way to override filextension registration #6873

@karl-sjogren

Description

@karl-sjogren

I'm working on some small adjustments to an extension that gives you syntax highlighting for handlebars files. Currently it only supports .hbr files though since the extensions .hbs and .handlebars are registered by the html language.

I've looked at the LanuageManager implementation and it seems that there is no way for an extension to override the file extensions of a previously registered language. Am I missing something here?

My team and I use a modified main.js in Brackets 36 to get around this though I would really like to contribute my fixes for others as well and supporting the correct file extensions for handlebars would be great.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions