Search code examples
c#xamarinkeyboard-shortcutsmonodevelopauto-import

Xamarin auto-import shortcut


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?


Solution

  • 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