emmetio / emmet-eclipse

Emmet for Eclipse
http://emmet.io
343 stars 74 forks source link

Remove control+d shortcut #5

Closed chuchiperriman closed 11 years ago

chuchiperriman commented 11 years ago

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

sergeche commented 11 years ago

You can rebind/unbind Emmet commands in Eclipse Keys Preferences dialog.

chuchiperriman commented 11 years ago

Really is control+D a good default?

sergeche commented 11 years ago

For me — yes. Also, since Eclipse is IDE with lots of features I can’t provide convenient shortcuts that won’t override something.

chuchiperriman commented 11 years ago

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!!

sergeche commented 11 years ago

I’ll think about changing it to another default shortcut.

Insongr commented 11 years ago

I hope you will change it. Thx. :smile:

huxoll commented 11 years ago

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.

nsa-yoda commented 11 years ago

May I recommend Cmd+S+D?

sergeche commented 11 years ago

@huxoll how are you trying to unbind this shortcut?

huxoll commented 11 years ago

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.

chuchiperriman commented 11 years ago

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.

pythagor commented 11 years ago

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)

wabisabit commented 11 years ago

In my case Emmet automatically rebinds to Ctrl+D after restarting Eclipse and I would also prefer having Ctrl+D for deleting a line.

sergeche commented 11 years ago

I’ll try to figure out what happening with shortcuts when Eclipse starts.

sergeche commented 11 years ago

Just pushed update that might fix automatic re-binding of keys

wabisabit commented 11 years ago

Now it's working perfectly! Thank you very much!

hetykai commented 10 years ago

@pythagor ,it works, thanks.

jabby commented 9 years ago

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.