1. Download http://www.jetbrains.com/resharper/ (the latest version is 1.03)
2 Installation Environment WINOWS2000 / XP Visual Studio2003 .NET Framework1.1 (Recommended)
3. Installation steps
3.1 Open Visual Studio Open Tools-> Options Using Save As Backup Keyboard Mapping Scheme
3.2 Close Visual Studio
3.3 Run the downloaded ResharPer installer
4. After the installation is complete, start Visual Studio If the installation success should be able to see the RESharPer in the toolbar
Note: If the installation is complete, find the new Class wizard that cannot use Visual Studio, creating a new Class (ResharPer1.0 has such a problem) as long as the csproj.dll file under Visual Studio is found (such as "C: / Program Files / Microsoft Visual Studio .NET2003 / VC7 / VCPACKAGES / CSPROJ.DLL ") Use Regsvr32.exe to register. For example, Regsvr32.exe" C: / Program Files / Microsoft Visual Studio .NET 2003 / VC7 / VCPACKAGES / CSPROJ.DLL ".
5. Introduction to Resharper function
5.1 Shortcut Key Introduction:
RESharper has rich shortcuts, which is a powerful feature, and after skilled use, the development efficiency can be significantly improved. The specific viewing method can be Tools-> Options to find keyboard and type resharper.
There are several common:
Find file ctrl n
(This function is not not available)
Advanced Find Usage SHIFT Alt F7
Change Signature Ctrl F6
Rename SHIFT F6
(Recommended, this is a safe name, resharper will make a corresponding reference to the revision)
Complete Code Ctrl Space
(Recommended, Resharper will automatically judge the current appropriate input)
Explore Stack TRACE CTRL SHIFT E
EXTRACT METHOD CTRL ALT M
File Structure Popup Ctrl F12
(Note You can also continue to enter the method name or field name you want to find in Popup Window.
Find usage alt f7
Go to Declaration Ctrl B
Go to Inheritors Ctrl Alt B
(Find the declaration of the class name to use this shortcut to find all inheritance and implementation)
Go to Type Declaration Ctrl Shift T
Highlight Usages Ctrl Shift F7
INSERT TEMPLATE CTRL J
(Recommended, especially when writing some repetitive code)
Optimize Using Ctrl Alt O
(Automatically remove unnecessary using)
Reformat Code Ctrl Alt F
(Recommended, it is conducive to the style of team code, automatic code finishing, including wrap and format, need to set in resharper-> options-> code style)
Smart Block Comment Ctrl Shift /
Smart Complete Code Ctrl Shift Spacesurround Ctrl Alt J
(Recommended, need to configure in resharper-> options-> surround with)
ENTER NAME COMPLETE CTRL ALT SPACE
There are some features such as using a class, but it has not been introduced in this document, and ResharPer will automatically prompt to introduce Alt Enter (provided in resharper-> options-> highlighting must be enabled ", of course this function sometimes makes VS Studio has become a bit slow, but it is easy to use, it is a bit difficult ...).
appendix:
1. Resharper configuration file (including file template) location is generally
/ Documents and Settings /
ResharPer / UserSettings.xml