resharper - next steps

33
R# Next steps

Upload: timmy-kokke

Post on 09-Jul-2015

108 views

Category:

Software


6 download

DESCRIPTION

"You know the basics of Resharper. In this presentation I show you what's next." I gave this presentation as a follow up on an earlier one that showed the very basics of Resharper. This time I demonstrated things like code analysis, project-level assistance, unit testing, code generation, navigation and search and templates.

TRANSCRIPT

Page 1: Resharper - Next Steps

R#Next steps

Page 2: Resharper - Next Steps

Areas to R#

Code analysis

Controls in the editor

Coding assistance

Project-level assistance

Unit testing

Code generation

Navigation and Search

Code Templates

Refactorings

Page 3: Resharper - Next Steps

Code analysis

Code inspection

Error

Warning

Suggestion

Hint

Finding out what’s wrong

Page 4: Resharper - Next Steps

Code analysis

Error

Code inspection

Page 5: Resharper - Next Steps

Code analysis

Warning

Code inspection

Page 6: Resharper - Next Steps

Code analysis

Suggestion

Code inspection

Page 7: Resharper - Next Steps

Code analysis

Hint

Code inspection

Page 8: Resharper - Next Steps

Code analysis

Hover

Finding out what’s wrong

Page 9: Resharper - Next Steps

Code analysis

Marker bar

Finding out what’s wrong

Page 10: Resharper - Next Steps

Code analysis

Status bar

Finding out what’s wrong

Page 11: Resharper - Next Steps

controls in the editor

Action bar

Marker bar

Hotspots

Page 12: Resharper - Next Steps

controls in the editor

Action bar

Page 13: Resharper - Next Steps

controls in the editor

Fixed indicators

Unit test method

Unit test class

Interface has

implementations

Type is overridden

Member is interface

implementation

Member overrides virtual

or abstract

Member hides same in

base class

Action bar

Page 14: Resharper - Next Steps

controls in the editor

Dynamic indicators

Quick fix error

Quick fix Warning, suggestion or hint

Inplace refactoring

Code refactoring

Context action

Surround action

Action bar

Page 15: Resharper - Next Steps

Unit testing

Recognizing Unit Tests

Unit test explorer

Unit test sessions

Running tests

Page 16: Resharper - Next Steps

Unit testing

Recognizing Unit Tests

Page 17: Resharper - Next Steps

Unit testing

Unit test explorer

Page 18: Resharper - Next Steps

Unit testing

Unit test sessions

Page 19: Resharper - Next Steps

Unit testing

Running tests

Page 20: Resharper - Next Steps

Code generation

Constructors

Properties

Other

Page 21: Resharper - Next Steps

Code Generation

Constructors

Page 22: Resharper - Next Steps

Code Generation

Properties

Converting

Page 23: Resharper - Next Steps

Code Generation

Other

Implement and override members

Generate delegating members

Generate partial members

Generate equality members (Equals() and GetHashCode() methods)

Generate equality comparer class for your type

Generate formatting members (ToString() methods)

Page 24: Resharper - Next Steps

More…

Search & Navigate

Templates

Custom patterns

Code cleanup

Quick documentation

Refactorings

Page 25: Resharper - Next Steps

More…

Search & Navigate

Go to everything

Find usages

Navigate To/From

Page 26: Resharper - Next Steps

More…

Search & Navigate

Exceptions

Page 27: Resharper - Next Steps

More…

Templates

Editor

Page 28: Resharper - Next Steps

More…

Custom patterns

Search patterns

Replace patterns

Page 29: Resharper - Next Steps

More…

Code cleanup

Page 30: Resharper - Next Steps

More…

Quick documentation

Quick info

Page 31: Resharper - Next Steps

More…

Refactorings Adjust Namespaces

Change Signature

Convert Abstract Class to Interface

Convert Anonymous to Named Type

Convert Extension Method to Plain Static

Convert Indexer to Method

Convert Interface to Abstract Class

Convert Iterator to Method

Convert Method to Indexer

Convert Method to Property

Convert Property to Auto-Property

Convert Property to Method(S)

Convert Static to Extension Method

Copy Type

Encapsulate Field

Extract Class from Parameters

Extract Interface

Extract Method

Extract Superclass

Extract Class

Inline Class

Inline Field

Inline Method

Inline Variable

Inline Parameter

Introduce Field

Introduce Parameter

Introduce Variable

Make Method/Property Non-Static

Make Method/Property Static

Move Loading...

Move Types Into Matching Files

Pull Members up

Push Members down

Push/Pull Parameters

Remove Unused References

Rename

Replace Constructor with Factory Method

Safe Delete

Transform Out Parameters

Use Base Type Where Possible

Inplace Refactorings

Resolving Conflicts in Refactorings

Page 32: Resharper - Next Steps

R#DEMO

Page 33: Resharper - Next Steps

Questions?