Free Sample
+ Collection
Code Files

ReSharper Essentials

Cookbook
Łukasz Gąsior

Make your Microsoft Visual Studio work smarter with ReSharper.
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849698702
Paperback124 pages

About This Book

  • Discover the most useful features of ReSharper and how to implement them effectively
  • Find out what is wrong with your code and use quick fixes to eliminate errors and code smells
  • A practical guide to ReSharper 8.1 focused on teaching you the most intuitive shortcuts

Who This Book Is For

If you are a developer who is working with Visual Studio and are looking to make your work more efficient, this book is for you. It is most useful for new ReSharper users but those who are currently using it will also find many useful tips and references updated to the latest version (8.1). Prior knowledge of Visual Studio is a must.

Table of Contents

Chapter 1: Getting Started with ReSharper
Introduction to ReSharper
Installing and configuring ReSharper
Integration with Visual Studio
Summary
Chapter 2: Write Smarter Code
Code generation
Using code editing helpers
Templates
Refactoring
Summary
Chapter 3: Finding What You Need Quickly
Finding files
Searching code references
Displaying code structure
Navigating to the library code
Summary
Chapter 4: Making Your Code Better
Code quality analysis
Eliminating errors and code smells
Summary
Chapter 5: Extended Support for Web Developers
ASP.NET Web Forms and ASP.NET MVC tools
Support for JavaScript
Support for TypeScript
Support for HTML/CSS
Summary
Chapter 6: Unit Testing
Test runner
Testing JavaScript
Analyzing code coverage with dotCover
Summary
Chapter 7: Extending ReSharper
Why you should extend ReSharper
The ReSharper API
Internal mode
The ReSharper SDK
Your first plugin
Sample SDK plugins
Summary
Chapter 8: Tools for Architects
Architecture View
Advanced references view
Global refactoring
Summary
Chapter 9: Code Analysis Beyond Visual Studio
Finding code duplicates
Running code analysis
TeamCity
Summary
Chapter 10: Recommended Plugins
The ReSharper gallery
xUnit.net tests support
Mnemonic Live Templates
Support for AngularJS
JSLint for ReSharper
The Utility Pack
Summary

What You Will Learn

  • Employ ReSharper in web projects with support for ASP.NET (MVC), HTML/CSS, JavaScript and TypeScript
  • Write your own ReSharper plugin
  • Utilize and configure templates
  • Find files, code references, and navigate through codes quicker
  • Eliminate errors and code smells
  • Generate your code – not write it
  • Improve the quality of your code by using code analysis
  • Run Unit Tests and manage test sessions
  • Find your project’s dependencies
  • Use ReSharper analysis beyond Visual Studio

In Detail

ReSharper is one of the best tools that extends Microsoft Visual Studio. It adds a lot of features which increases a developer’s productivity. It started with providing support for C# and VB.NET projects, but the current version supports developers in almost any type of applications which you can create with Visual Studio.

Written with very clear walkthroughs and step-by-step instructions, this book contains many cases that practically show you how to write better code, refactor it and quickly find problems in your code.

This book explains how to start using ReSharper and how you can configure it to suit your needs. In the beginning it focuses on introducing the most commonly used features that help you in writing code and find things in smarter, quicker ways. You will learn about code analysis which will help you to eliminate errors and code smells, and how ReSharper supports web development by providing support for writing ASP.NET (MVC) applications and JavaScript/TypeScript or HTML/CSS code.

This book introduces tools that facilitate your work with unit tests and teach you how to write a simple ReSharper plugin. The last chapters present the new features introduced in ReSharper 8, which provide support for architects and allow you to use ReSharper analysis besides Visual Studio and also support for TypeScript (8.1). Finally, it quickly reviews the best ReSharper plugins recommended by the author.

This book will show you how to use ReSharper features to be a better developer, in a practical manner.

Authors

Read More