Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Intellisense to automatically resolve missing Using directives

I have just installed VS2010 in order to do some XNA development and I have noticed, coming from using Eclipse on a day to day basis, that one very useful feature appears to be missing. When I start typing a class name from another namespace, intellisense doesn't display it so I cannot autocomplete. I have to type in the full name, hover over the typed class name with my cursor, then click the menu that appears in order for the using directive to be added.

Is there a way to get a similar behaviour like in Eclipse where it shows all class names in the current project and automatically adds the import when you autocomplete?

like image 769
Jkh2 Avatar asked Mar 07 '13 22:03

Jkh2


1 Answers

you must use visual studio + resharper. Resharper is the best addin for vs. It's a productivity booster! Although it's not free, It's worth it and there's also a free 30 days trial. When you start working with resharper, you can't leave it. Also, i recommend you to use stylecop too. It's an open soucee code rule validations and enforcement

like image 156
Vackup Avatar answered Sep 18 '22 13:09

Vackup