sublime-text-plugin icon indicating copy to clipboard operation
sublime-text-plugin copied to clipboard

Abbreviation enabled in source.js

Open rchl opened this issue 5 years ago • 1 comments

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.

rchl avatar Sep 01 '20 21:09 rchl

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

sergeche avatar Sep 06 '20 15:09 sergeche