14
JetBrains ReSharper Absolute Software Dennis Loktionov

JetBrains ReSharper

Embed Size (px)

Citation preview

Page 1: JetBrains ReSharper

JetBrains ReSharper

Absolute SoftwareDennis Loktionov

Page 2: JetBrains ReSharper

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

Page 3: JetBrains ReSharper

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)

Page 4: JetBrains ReSharper

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

Page 5: JetBrains ReSharper

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())

Page 6: JetBrains ReSharper

Code Cleanup

Resharper | Code | Cleanup Code …Shortcut Key: CTRL+E, CTRL+C

Cleanup TypesFull CleanupReformat CodeCustom

Code Cleanup Profiles

Page 7: JetBrains ReSharper

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

Page 8: JetBrains ReSharper

Code Templates

Resharper | Live Templates Template Types

Live TemplatesSurround TemplatesFile Templates

Template CategoriesPredefined TemplatesUser TemplatesShared Solution TemplatesPersonal Solution Templates

Template Editor

Page 9: JetBrains ReSharper

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

Page 10: JetBrains ReSharper

Supported Languages & Technologies

C# (up to 3.0) VB.NET ASP.NET XML XAML MS Build & NAnt scripts

Page 11: JetBrains ReSharper

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)

Page 12: JetBrains ReSharper

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

Page 13: JetBrains ReSharper

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

Page 14: JetBrains ReSharper

THANKS