Closed chuchiperriman closed 11 years ago
You can rebind/unbind Emmet commands in Eclipse Keys Preferences dialog.
Really is control+D a good default?
For me — yes. Also, since Eclipse is IDE with lots of features I can’t provide convenient shortcuts that won’t override something.
Yes, no problem it is only an opinion but the most used shortcuts are control+c control+v control+x and control+d, IMHO it is not a good default, a different opinion. Thanks for the nice plugin!!
I’ll think about changing it to another default shortcut.
I hope you will change it. Thx. :smile:
Please do change this shortcut. Strangely, I'm unable to disable the Emmett shortcut in Eclipse Juno, so I have to uninstall the plugin; I use Cmd+D all the time. Thanks.
May I recommend Cmd+S+D?
@huxoll how are you trying to unbind this shortcut?
Eclipse Preferences > Keys, search for Match Pair Tag, Unbind Command.
It clears the conflict according to the Keys preference panel, but when I hit Cmd+D, I get the popup window with options for Delete Line and Match Pair Tag (outward).
Oddly, it was working for me on Indigo, but I just moved to Juno yesterday and looked for this issue.
Yes, to change the shortcut you need install the plugin, restart eclipse, change the key and restart again. Don't work very well but you can change it with patience.
I had this trouble too until narrowing key binding table through filter and saw what happen. Type "ctrl+d" and try to unbind the Emmet Ctrl+D shortcut. Delete line shortcut unbinded too. All I did is unbind/rebind Emmet to Ctrl+Alt+D (no conflicts) and bind Ctrl+D to delete line in same dialog window. No even need restart. All works instantly for me. (Ubuntu server 10.04, Eclipse Juno)
In my case Emmet automatically rebinds to Ctrl+D after restarting Eclipse and I would also prefer having Ctrl+D for deleting a line.
I’ll try to figure out what happening with shortcuts when Eclipse starts.
Just pushed update that might fix automatic re-binding of keys
Now it's working perfectly! Thank you very much!
@pythagor ,it works, thanks.
Any chance to change the default shortcut ? It's really annoying.
I changed my configuration, but I think it's not a good idea to use the ctrl+d shortcut which is one of the most use shortcut in Eclipse.
It is the default delete line shortcut and we use it all the time. If you add the same shortcut then eclipse propose delete line or Match Pair Tag instead of delete the line directly.
Please, do the shortcut configurable, or change it or remove it