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 was archived by the owner on Sep 6, 2021. It is now read-only.
Currently, Language._addFileExtension() is private (and it may not work well if not called early enough). We should make it a public fully supported API.
This enables:
Extensions to add less-common filename aliases, forestalling the need for core changes like Added jsx file extension #2949
Extensions for new languages to use existing, similar CM modes as a quick hack to get better-than-nothing support. For example, interpreting JSP, ColdFusion, or Mustache template files as plain HTML. Or interpreting ActionScript as TypeScript, etc...