sublime-text-plugin
sublime-text-plugin copied to clipboard
Abbreviation enabled in source.js
I wonder what's the intention of having source.js included in abbreviation_scopes:
https://github.com/emmetio/sublime-text-plugin/blob/61dceeffba127ce7ab764b5f514b39cd5ec6b54b/Emmet.sublime-settings#L52
While it doesn't trigger any unwanted expansions on normal typing, the abbreviation is marked when manually triggering ctrl+space so it's still mildly annoying as I would never want to create an HTML tag in a plain JS code.
I know I can modify settings myself but I'm questioning the defaults here.
It was added to handle abbreviations in non-default JSX packages as Babel or Naomi. I agree it’s a bit wide selector and should be fine-tuned to properly handle basic cases