You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
(#6873) - with unit tests.
- Remove inaccurate docs on Language add extension/name APIs
- Fix PHP mixed-mode handling so token-level detection (getLanguageForMode())
works - similar to our handling of "htmlmixed" mode. Allows us to remove
"clike" dummy language without breaking PHP Toggle Comment functionality
(adobe#6873) - with unit tests.
- Remove inaccurate docs on Language add extension/name APIs
- Fix PHP mixed-mode handling so token-level detection (getLanguageForMode())
works - similar to our handling of "htmlmixed" mode. Allows us to remove
"clike" dummy language without breaking PHP Toggle Comment functionality
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.
The text was updated successfully, but these errors were encountered: