Jul
09
2008
0

ReSharper Tip of the Day: Adding Usings and References

When you go to use a type that is not added in the references, you can type out the complete name.

clip_image002

And ReSharper will know it needs to add, in this case, System to your using statements. Press ALT + Enter and it will add it for you.

clip_image004

If the name is ambiguous it will ask which one you want.

clip_image006

If you don’t even have the assembly referenced it will ask you to add that too.

clip_image008

WARNING: This will make you lazy with remembering which assemblies and namespaces are home to which classes.

Written by Mark in: ReSharper Tip of the Day | Tags:

Powered by WordPress | Kredit | TheBuckmaker