Eclipse prints invalid characters in a text editor

I have a strange problem with Eclipse (Helios). After several hours of operation, some of my keyboard keys start typing different characters in a text editor window.

For example:

  • SHIFT+2 usually prints, but actually prints @
  • # usually prints # but actually prints /

It looks like it is changing the keyboard localization from UK to USA, but I am not changing any settings. I mainly use Eclipse for Android development. No other programs are affected. Any ideas on how to fix it, or even what might cause such a problem?

+7
source share
3 answers

I hit something similar before: Windows has this wicked shortcut key, which is enabled by default, which changes between installed locales when you press left ALT + left Shift , which is necessary in many Eclipse shortcuts. Check the keyboard settings (or something similar) under the control panel, I do not have a Windows machine to check where you can disable it now.

+11
source

To disable the switch between input languages (as described in @esaj) goto behavior:

Control Panel-> Region and Language-> Keyboards and Languages-> Change Keyboards-> Advanced Key Settings-> Highlight Between input languages → Change Key Sequence-> Change to Not Assigned .

God, how many clicks!

+9
source

Before changing the keyboard setting (as suggested by @dontumer), press left shift + left alt until you return the layout. It will not take more than two to three times. Once your layout is back, you can change the keyboard settings if you are interested.

0
source

All Articles