I wanted to confirm this is a long term change and not an inadvertent bug.
Even though the Syntax menu still includes “Javascript” and “TypesScript” options, both are reported in editor.document.syntax
to be “javascript.” Similarly:
- HTML, HTML (ERB), HTML (EJS) - all report as ‘html’
- CSS, Less, Sass, SCSS - all report as ‘css’
Is there a new way to tell if the user has selected Sass not CSS?