5

Since a few days I can't no longer use the keyboard shortcuts like Ctrl-S because it inserts special characters into my sources. In a property file I noticed that Ctrl-S inserts \u2308 .

Is there a way to repair this, without reinstalling STS_2.8.1 ?

stacker
  • 68,052
  • 28
  • 140
  • 210
  • @TheEliteGentleman You're right I meant Ctrl (that was due to a localized keyboard) – stacker Jan 23 '12 at 10:23
  • Does this happen only in Eclipse or also in other programs? For example, what happens if you type Ctrl-S in Notepad? Maybe something has changed with regard to your keyboard settings. – Jesper Jan 23 '12 at 10:28
  • @Jesper Only in eclipse, the problems starts a few minutes after starting eclipse. – stacker Jan 23 '12 at 10:31
  • @stacker I know that non-English Windows (at least my Dutch version) has a super-annoying feature, where when you press Ctrl-Alt (or something like that) it switches between US International and Dutch keyboard layout. Can be fixed by removing Dutch keyboard layout in Windows settings. Maybe you have something like that? – Jesper Jan 23 '12 at 10:34
  • If you have all your sources in a version control system it should be very easy to discard a workspace and create a new from scratch. – Thorbjørn Ravn Andersen Jan 23 '12 at 10:47

3 Answers3

13

You can try starting Eclipse from the command line with the -clean option (so use the command eclipse -clean).

See also: What does the -clean parameter mean in the Eclipse IDE?

Community
  • 1
  • 1
Jesper
  • 202,709
  • 46
  • 318
  • 350
2

You can try changing workspace, it usually restores all default settings on modern version of Eclipse. A lighter version of that is simply to prune the .metadata folder in your workspace (as all settings - yes, including SCM ones - are stored there).

Riduidel
  • 22,052
  • 14
  • 85
  • 185
  • I agree, sometimes your eclipse workspace gets corrupted and its worth rebuilding it. I used to make a backup of my workspace but have since switched IDE's – Shawn Vader Jan 23 '12 at 10:23
  • @Riduidel Thanks, I already use a new workspace, any other idea? – stacker Jan 23 '12 at 10:24
0

Huhh havent heard of such issue.

Whats your Keys in Prefernce window shows...

Like its like this for me?

You can definitely correct it this way I blv.

enter image description here

manocha_ak
  • 904
  • 7
  • 19