emmetio / brackets-emmet

Emmet plugin for Brackets editor
http://emmet.io
MIT License
489 stars 188 forks source link

Shortcut "wrap_with_abbreviation" no longer works #78

Closed stephane-r closed 9 years ago

stephane-r commented 9 years ago

Hi,

Since update brackets, the "wrap_with_abbreviation" shortcut no longer works. I've check on brackets.js, and i've this :

    "io.emmet.wrap_with_abbreviation": {
        "commandID": "io.emmet.wrap_with_abbreviation",
        "key": "Ctrl-Shift-A"
    },

But if i select my text and push ctrl-shift-a, nothing happens.

Any idea ?

Thank you :)

iampeterbanjo commented 9 years ago

I am experiencing the same issue and I am using a Mac with Brackets Release 1.2 build 1.2.0-15697 (release 8f82e2a97) build timestamp: Sun Feb 22 2015 22:34:50 GMT-0800

sergeche commented 9 years ago

Try to use menu item — dies it works? There might be some other extension that steals this shortcut

stephane-r commented 9 years ago

Hi,

With the menu item, worked. I've check on my brackets.json, and i've have just one shortcut with Ctrl-Shift-A, and it's for emmet.

sergeche commented 9 years ago

It’s not about your brackets.json, it’s about another extension that may override the same shortcut

stephane-r commented 9 years ago

Aaah yes, indeed ! I found what extension problem : Brackets simple todo :

{ 'name': parameters.ADD_TODO_HOTKEY,           'type': 'string',   'default': 'Ctrl-Shift-A' }

I will inform the editor ;)

Thank you ;)

iampeterbanjo commented 9 years ago

Yes! Removing the simple todo extension fixes this. Thanks. :-)

stephane-r commented 9 years ago

Not need remove simple todo extension, juste chang shortcut on settings ;)