emmetio / sublime-text-plugin

The essential toolkit for web-developers
https://emmet.io
MIT License
253 stars 29 forks source link

Emmet not expanding in JS files but works with html #154

Closed JamesDullaghan closed 3 years ago

JamesDullaghan commented 3 years ago

I've recently done a fresh install of emmet and sublime text on 2 different computers and for whatever reason neither seem to be expanding on either inside of JS files but do expand inside of html files.

Any idea what this could be caused by? There are no errors in the sublime text console and there are no issues with the plugin. The only modification made is adding:

[
 {
    "keys": ["ctrl+e"],
    "command": "emmet_expand_abbreviation"
  }
]
sergeche commented 3 years ago

You can open ST console, run sublime.log_commands(True) and then check which command is invoked via ctrl-e shortcut. You may have another command bound to this shortcut in HTML