12

In eclipse, it's ctrl+shift+o, which automaticly imports everything. But how can I do this in Xamarin? I don't remember every package and there aren't those lightbulbs, which are in Eclipse that would help me to "quick-fix" the problem.

So, is there any shortcut for auto-import everything or just some othere way how to auto-import stuff?

J. Chomel
  • 8,193
  • 15
  • 41
  • 69
Vilda
  • 1,675
  • 1
  • 20
  • 50

1 Answers1

19

If you select the proper context by moving the cursor to the line of code with the missing namespace and then press "Alt ⌥" + "Return ⏎" the refactor/quick fix dialog will show up. If the dialog does not appear validate your keybindings.

Dialog

enter image description here

Andreas
  • 5,251
  • 30
  • 43
  • 1
    Sorry what is that Mac keybinding? I don't know how to read the ⌥ symbol, and its not on my keyboard – Frank Schwieterman Oct 05 '14 at 03:37
  • http://upload.wikimedia.org/wikipedia/commons/3/35/AppleAlt.jpg it is the "option" or "alt" key http://mac.sillydog.org/archives/pic/option_key.jpg – Andreas Oct 05 '14 at 07:46