By default, Resharper does not specify any usings in .cs files. Is it possible to configure it to add one or two usings by default
By default, Resharper does not specify any using s in .cs files. Is it
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First of all, you can use a special kind of intellisense called
Import symbol(Shift-Alt-Space) instead. It would show you all available methods regardless of their namespace and then it would import everything.But if you still want additional usings, then in addition to advice from @Hadi Eskandari I can suggest to go to
ReSharper | Options -> Code Editing | C# | Namespace importsand add your namespaces to “Namespaces that should always be imported”. This way ReSharper would not suggest to remove your namespaces and would always add them during Code Cleanup.