I use Eclipse with Dvorak-QWERTY Commands (a Mac option). I am running OS 10.6. But when I press the command key, it does not revert back to the QWERTY keyboard but instead stays as Dvorak. This makes keyboard shortcuts a lot harder to use. How can I fix this problem?
If Eclipse (or other program) supports remapping keyboard shortcuts, you can just go to remap the shortcut to the same physical key that originally was in QWERTY while your keyboard is in Dvorak, so it looks like the same shortcut but is actually mapped to a different key.
Otherwise, I'd just take the time to learn the shortcuts in Dvorak. It may be a pain at first but you'll be one more step towards being QWERTY-independent.
Related
I am new to sublime text plugin development, I am developing a plugin that involves opening a quick panel on pressing certain key binding. I want the panel to be open only as long as the keys are pressed and once the keys are released I want it (Quick panel) to close. I've figured out I can fire the 'hide_pannel' command to close my Quick panel but I want it to fire on release of the key combination.
For example lets say, I want the quick panel on pressing Ctrl+p and I want it to close after I release ctrl.
So I was thinking if I fire 'hide_pannel' command after release ctrl should do the trick, but I couldn't find how I can fire a certain command on key release instead of key press. If there is any other solution or workaround other than what I was thinking please do let me know.
Although you can detect when a key is pressed in Sublime, you can't directly detect when it has been released. Similarly, the modifier keys (Ctrl, Alt, etc) can not be mapped to anything on their own and always require a non-modifier as well. For example, Ctrl+P is allowed, but Ctrl alone is not.
That said, theoretically it's possible to interface with the underlying operating system using a python library that uses native code in your plugin to observe the state of the keyboard.
I'm not aware of any Sublime specific examples of doing such a thing, however. Note also that in doing this you would also have to provide such a library for all of the platforms that Sublime supports (Windows, MacOS, Linux, and 32 or 64 bit versions on Windows/Linux), presuming that you want your plugin to work on multiple platforms.
I use Eclipse and a non-QWERTY keyboard. My # sign is typed through Alt GR+A. This is on Windows 7.
The Eclipse Editor won't let me type an # which is bad.
I disabled the key shortcut Alt+A, it still doesn't work.
# works in other programs and in other windows inside Eclipse (e.G. find, options etc.) but not in Editor.
As this also applies to Alt GR+P (which is my } ) a general solution as to how to figure out what key events get consumed would be nice.
The Eclipse editors use the StyledText widget. This ignores some inputs depending on the platform.
On Windows the widget ignores anything with just Alt or Ctrl or Alt+Shift or Ctrl+Shift. The code claims that Alt Gr should look like Ctrl+Alt and would get through.
On Macs Cmd and Cmd+Shift is ignored.
On Linux / Motif Ctrl and Ctrl+Shift is ignored.
There is a very old Eclipse bug 20953 which sounds like this problem, but it supposed to have been fixed long ago by the code I mentioned.
Been using Eclipse for years in Windows and when I do a Find/Replace I use keyboard combinations like alt+d for and alt+n for "Replace next"/"Find next". On Mac there doesn't seem to be a way to do this quickly by keyboard. I have to Tab around to the button I want which is generally slower than using the mouse. How can have a direct keyboard shortcut to do this?
Mnemonics are discouraged: https://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/07-NativePlatformIntegration/NativePlatformIntegration.html#//apple_ref/doc/uid/TP40001909-212166
I hate it, too.
I'm pretty new to Eclipse because I'm starting to learn Java Programming. I'm having problem with the editor.
I'm running Eclipse on an iMac with a German keyboard. The keyboard shortcut for "Redo" action is Cmd+Shift+Z.
When I use this shortcut, a tiny window in the right down corner pops up and asks if I want "Inspect" or "Redo"...
In the preferences, I have three different "Inspect", (just one was with a shortcut, but it was something like Cmd+Shift+I). Anyway, I erased it to be sure.
Afterwards I tried again, but the same little window asks me for Insect or Redo. Now I don't know what to do.
I'm having the same problem with Cmd+R ("Run" action). For "Run" there is another keyboard binding.
In Eclipse preferences, I could not find both commands that are on the same shortcuts. Or better I found them but they are separate.
Go to the Keyboard shortcuts preferences :
Eclipse > Preferences > General > Keys
and unbind or rebind whatever is giving you trouble.
In your case, go to Inspect and remove the binding for Cmd+Shift+Z.
In some cases, removing the binding for a key command will remove all bindings for it so after you do so, check out Redo and make sure it is still tied to the command.
Several times now while programming in Emacs my keyboard has started to write Greek letters into the buffer. I assumed that I'd pressed some key combination but after searching I've yet to figure out what it is and my only solution right now is to restart Emacs. So what am I doing and how do I fix it?
Try to analyse what you've pressed.
M-x list-command-history shows command history
C-h l runs the command view-lossage which displays last 300 input keystrokes
I'm going out on a limb.
You're working on a windows computer that has multiple input languages configured (including greek). It also has the default keyboard shortcut to switch between them enabled (left alt+shift is the default, and if you have multiple inputs set up, it is on by default).
Some emacs shortcuts require an alt-shift combo, and depending on the order you press them, you get or don't get windows intercepting it for the IME switch.
Possible solutions include:
remove the greek IME
disable the windows shortcut to switch IMEs
change said shortcut
I typically want multiple IMEs on my systems, like that I can switch IMEs quickly, and don't want to mess with default shortcuts, so I ended up getting used to always pressing shift then alt when doing alt-shift combos in emacs.