Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set the ReSharper default Company and Copyright?

I just installed Stylecop 4.5RC along with ReSharper. When I create a new class, I see that I am now compliant (yay!), but I want the company to be my company, not Microsoft. I also have too much to do to have to worry about updating the copyright text. How do I fill these in by default?

// -----------------------------------------------------------------------
// <copyright file="ReaderResultTypes.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// ---------------------------------------------------------------------

--

like image 260
tofutim Avatar asked May 24 '11 21:05

tofutim


People also ask

How do I start using ReSharper?

In Visual Studio 2012 and later, you can use the Quick Launch feature to search and execute ReSharper commands. While in the editor, press Alt+Enter and then start typing the name of a ReSharper command that you want to execute (more...).

How do I find ReSharper in Visual Studio?

In the Visual Studio menu, choose ReSharper | Options. In the Options dialog that appears, select a node in the left pane and configure settings in the right pane. Use the search box in the left top corner to find a specific preference.


1 Answers

Thats looks like the header from StyleCop. (Last version of StyleCop include the StyleCop plugin for resharper)

Ok how to change? Right click on your project in the solution explorer. Select the context menu item "StyleCop settings". On the settings dialog switch to the tab "Company Information" and check the checkbox. Enter your copyright informations in the fields. Done :-)

like image 105
Dennis Bischof Avatar answered Sep 22 '22 04:09

Dennis Bischof