Feature Request: Syntax highlighting for Glimmer JS/TS (.gts/.gjs) files
Release notes
Support syntax highlighting for Glimmer JS/TS (.gts/.gjs) files.
Problem to solve
Ember.js has introduced a new component format: Glimmer-JS and Glimmer-TS. Currently, GitLab does not support syntax highlighting for these new language definitions.
ref:
- RFC: https://rfcs.emberjs.com/id/0779-first-class-component-templates
- Component implementation: https://github.com/ember-template-imports/ember-template-imports
- VS Code language definitions: https://github.com/lifeart/vsc-ember-syntax
Proposal
Support syntax highlighting in in .gjs and .gts files.
Implementation Guide
- Syntax highlighting development guidelines (repository blob viewer)
- A Highlight.js plugin is available here: https://github.com/NullVoxPopuli/highlightjs-glimmer
Intended users
Sasha (Software Developer)
Feature Usage Metrics
Amount of .gjs/.gts files.
Does this feature require an audit event?
No
Edited by Jacques Erasmus