Why is my keyboard messed up in Eclipse?

I am trying to type in a pair of angle brackets in Eclipse, like "<>". However it shows up as a single quotation and a dot, like "'.". I tried a couple of times and found out that the angle bracket is actually located at back-slash's position.

Why is this happening? How can I change it back?

Thanks in advance.

Xi


I think this has to do with an annoying feature of Windows - I've had something similar for a long time in different programs (not just Eclipse).

If you have a non-English version of Windows, you probably have different keyboard layouts installed (for example, I have a Dutch and a US English layout installed by default). The key combination Alt + Shift switches between keyboard layouts. It's very annoying and it's a really strange feature - as if the keys on someone's keyboard would suddenly change?!

You can go into Control Panel, Keyboard Settings and remove the layouts that you don't want to use. (I removed the Dutch layout so there's only US English left), so that you can't switch to the wrong layout by accident again. Or you can go to the Advanced Key Settings in Keyboard Setting and turn off the key combination.


Hit Alt + Shift. If you don't want to spend time removing keyboard layouts like Jesper suggested, just hit Alt + Shift until you get the layout you need. It usually doesn't take more than a couple times. :)


I Am Doing This Via Windows Control Panel.

First time when changing font.I am restart Eclipse.(No solution than that to save my time) and then do this. enter image description here


In windows 7 the language bar uses the LEFT ALT + SHIFT key sequence to change languages, so you can quickly change the language say to Spanish when writing a mail.

This sequence conflicts with many Eclipse shortcuts that use ALT + SHIFT, like rename!

You can remove the OS's setting by control panel > keyboards and languages > change keyboards > advanced key settings.

Julio