Mattiafarinaro / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Notepad++ Shortcut keys are global #362

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Notepad++
2. Install zen-coding plugin
3. Try to use any shortcut associated with zen-coding outside of notepad++

What is the expected output? What do you see instead?
Expected output is that the focused application gets the key combination 
pressed. Instead, Notepad++'s zen-coding gets it.

What version of the product are you using? On what operating system?
Notepad++ version 6.1.8 unicode
zen-coding plugin for notepad++ v0.7

Please provide any additional information below.
This bug is really annoying, especially when someone uses a different language 
keyboard. In my example, the hungarian keyboard uses AltGr (which is CTRL + ALT 
essentially) as a modifier key to reach special characters, like <;>&@| etc. 
Some of these characters' shortcuts conflicts with zen-coding's shortcuts, 
which is bad; but the worst thing that the plugin somehow registers these 
shortcuts as "global" shortcuts; so it doesn't matter which application runs in 
foreground, when such a shortcut is pressed, Notepad++'s zen-coding plugin 
answers.
This basically renders the plugin useless for users with foreign language 
keyboards.
----
Concrete example: the hungarian keyboard uses AltGr + M for outputting the "<" 
character (which is trivially essential in html...); and zen-coding uses the 
same shortcut for the "Merge Lines" command.

Solutions:
1. resolve the global register bug, it is really annoying, AND
2. ability to change shortcuts for the plugin.

Original issue reported on code.google.com by zeroxx1...@gmail.com on 30 Oct 2012 at 10:53

GoogleCodeExporter commented 8 years ago
Try to switch to Emmet: https://github.com/sergeche/zen-coding/downloads

Original comment by serge....@gmail.com on 30 Oct 2012 at 1:26

GoogleCodeExporter commented 8 years ago
Thanks, this one works as intended.

Original comment by zeroxx1...@gmail.com on 30 Oct 2012 at 1:37