31

After installing the most recent update to STS 3.9.0, my Ctrl+Shift+O keyboard to Organize Imports is no longer working. The key shortcut exists in Preferences->General->Keys ("Keys" preferences) but is missing in the Source menu ("Source" menu).

Mwiza
  • 7,780
  • 3
  • 46
  • 42
Matt Halstead
  • 313
  • 1
  • 3
  • 9

2 Answers2

54

This is a bug. You can workaround it by fixing the Eclipse shortcut keys preferences.

From the bug report:

here is how you can fix that issue:

Go to the Preferences -> General -> Keys press Filters... and de-select Filter uncategorized commands. Look for the command "Go To Symbol in File" and select that, press unbind and Apply and Close

codependent
  • 23,193
  • 31
  • 166
  • 308
Kris
  • 3,898
  • 1
  • 23
  • 32
24

Another way to fix this that survives STS restarts is to go: Preferences -> General -> Keys and change the "When" value to 'Editing Java Source'.

This is how I have my settings and works for me

Javier Z.
  • 784
  • 4
  • 10