emmet-eclipse
emmet-eclipse copied to clipboard
"Match Pair Outward" keyboard shortcut (Ctrl + D) conflicted to eclipse's "Delete Line"
After installing emmet, I can't use Ctrl+D to delete line in my eclipse, even when I unbind the "Match Pair Outward" command in Preferences / General / Keys.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
+1. This affects me too
me too,and I can't find way to solve this problem
The solution:
Go to Window -> Preferences -> General -> Keys There you can bind and unbind key commands, so in order to avoid conflicts with Ctrl + D, you have to unbind the default actions and then search for "Math Pair Outward" and apply the key to it inside the Aptana Editor.
You can do it to other Emmet keys wich cause conflicts.
Tested on Aptana Studio 3. Eclipse should work too.
@edwardoyarzun I might be misunderstanding your "solution" but from the original post it appears to me that the actual issue is that unbinding does not work.
Also these commands remain there even after uninstalling Emmet. I can see them in Keys list, they don't have any shortcuts listed on them, but when hitting a shortcut you have to choose one of 2 matching commands every single time. When I hit Ctrl+D a list pops in the bottom right corner of my screen where I have to choose either [Delete Line] or [Match Pair Outward].
As a temporary workaround, just press ENTER after pressing Ctrl+D, it will execute the 'Delete Line' command
@cnlevy :)))
This happened to me as well. :+1:
The good part (at least for me :) is that going to Window -> Preferences -> General -> Keys
worked.
Firstly I went to Match Pair Outward
and changed its hotkey (to Ctrl+Shift+Alt+D, but I suppose any, or none at all, would work), and then went back to Delete Line
and reassigned Ctrl+D to it (somehow it was not assigned anymore).
Not it works as good as before.
@acdcjunior Thanks!The problem have been solved.
I guess the discussion goes about these lines
https://github.com/emmetio/emmet-eclipse/blob/master/io.emmet.eclipse/plugin.xml#L137-L142
What should be short-cut for those commands?
Should it be Ctrl+P ? (P is for Pair)
I had the same issue but I fixed it by deleting the directory .metadata in my workspace. I restarted Eclpse and all shortcuts started to work :)