When coding, I often type a declaration with a type name from a namespace not yet imported with a using
statement. ReShaper then pops up a little tooltip suggesting a namespace for which to automatically add a using
. However, I always have to leave off typing and use my mouse to accept this. How can I do this using only the keyboard?
Alt + Enter whilst the caret is on the type you are trying to use. But it does depend on the schema you are tying to use or if the short cut has been customized.
Here are the short cut keys for Visual Studio and IDEA: http://www.jetbrains.com/resharper/webhelp/Reference__Keyboard_Shortcuts.html
Here is also a nice pdf print out for the Visual Studio schema (6.0) http://www.jetbrains.com/resharper/docs/ReSharper60DefaultKeymap_VS_scheme.pdf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With