Upload
dennis-loktionov
View
2.741
Download
2
Embed Size (px)
Citation preview
JetBrains ReSharper
Absolute SoftwareDennis Loktionov
Navigation & Search
Viewing File Structure (File Structure Window)Shortcut Key: CTRL+ALT+F
Viewing Type Hierarchy (Type Hierarchy Window)Shortcut Key: CTRL+ALT+H; CTRL+E, H
Go To (Type, File, Member, Symbol, Base, Declaration, Usage, Inheritor, etc.)
Shortcut Key: CTRL+T; CTRL+SHIFT+T; ALT+\; CTL+SHIFT+Backspace;etc.
Navigation between TODO itemsShortcut Key: CTRL+ALT+D
Unit Test Navigation (Unit Test Explorer Window)Shortcut Key: CTRL+ALT+U
Find Usage
Code Refactoring
Resharper | RefactorShortcut Key: CTRL+SHIFT+R;
Refactoring Action Rollback Common Refactoring Actions
Rename (Shortcut Key: CTRL+R, R)Change Signature (Shortcut Key: CTRL+R, S)Convert Abstract Class to InterfaceConvert Method to PropertyCopy TypeEncapsulate Field (Shortcut Key: CTRL+R, F)Extract Class from ParametersExtract Interface, Method, SuperclassInline VariableMake Method Static/Non-Static (Shortcut Key: CTRL+R, O)Safe Delete (Shortcut Key: CTRL+R, D)
Coding Assistance
Code CompletionSymbol Completion (Shortcut Key: CTRL+SPACE)Smart Completion (Shortcut Key: CTRL+SHIFT+SPACE)Import Symbol Completion (Shortcut Key: CTRL+ALT+SPACE)
Statement Completion (Shortcut Key: CTRL+SHIFT+SPACE) Context Actions
Shortcut Key: ALT+ENTER; Code Highlighting Quick Documentation
Shortcut Key: CTRL+SHIFT+F1; Matching Delimiters Moving Code Elements Surrounding with Regions Suggesting Namespace Import Directives
Code Analysis
Code Highlighting (errors, warnings, suggestions, hints) Marker Bar & Status Indicator Solution-wide Analysis External Annotations Quick Fixes
Shortcut Key: ALT+Enter Navigation between errors, warnings & suggestions
Shortcut Key: SHIFT+ALT+PgDn; ALT+PgDn Value Analysis (Ex: null, boolean) String formatting analysis (Ex: string.Format())
Code Cleanup
Resharper | Code | Cleanup Code …Shortcut Key: CTRL+E, CTRL+C
Cleanup TypesFull CleanupReformat CodeCustom
Code Cleanup Profiles
Code Generation
Resharper | Code | GenerateShortcut Key: ALT+INS
Common Code Generation ScenariosConstructorPropertiesRead-only propertiesImplement interface memberOverriding inherited MemberEquality Members (Equals, GetHashCode, IEquatable<T>)Formatting Members (overrides ToString())
Delegating Members
Code Templates
Resharper | Live Templates Template Types
Live TemplatesSurround TemplatesFile Templates
Template CategoriesPredefined TemplatesUser TemplatesShared Solution TemplatesPersonal Solution Templates
Template Editor
Unit Testing
Supported Unit Testing FrameworksNUnit
Resharper | Unit Testing Unit Test Explorer
Shortcut Key: CTRL+ALT+U Advanced Unit Testing Functionality
Requires Gallio plugin (Apache license, ReSharper 4.0 only)Support for MSTest, MBUnit, NUnit, NBehave
Supported Languages & Technologies
C# (up to 3.0) VB.NET ASP.NET XML XAML MS Build & NAnt scripts
Plugins
Scout plugin (Reflector integration) Gallio plugin (Advanced Unit Testing support) StyleCop plugin (Microsoft StyleCop integration) RGreatEx plugin (Advanced localizer, resource file
manipulation, not free) NHibernate plugin (popular ORM framework integration) ARP (NHibernate, log4net support) Others … Custom (OpenAPI for plugin development)
Reasons To Use
Developer’s productivity boost IntelliSense on steroids Enforcing code style best practices across teams Consistent code base that speeds up code reviews Useful plugins Chance to become a real ReSharper Jedi
Useful Links
http://www.jetbrains.com/resharper - Resharper http://code.google.com/p/scoutplugin - Scout plugin http://www.codeplex.com/StyleCopForReSharper - StyleCop plugin http://www.gallio.org – Gallio plugin
THANKS