ReSharper Essentials
图书信息
| 作者 | ?ukasz G?sior |
| 出版社 | Packt Publishing |
| ISBN | 9781849698719 |
| 出版时间 | 2014-02-20 |
| 字数 | 44.7万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
A practical, handson guide that will help you to unleash the power of ReSharper to write better quality code. 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.
目录
ReSharper Essentials
Table of Contents
ReSharper Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Getting Started with ReSharper
Introduction to ReSharper
Available versions
Support for various versions of Visual Studio
Support for various languages
Installing and configuring ReSharper
Installing ReSharper
Configuring ReSharper
Options
The General tab
The Keyboard & Menus tab
The Settings tab
The Inspection Severity tab
The C#, VB.NET, and Naming Style tab
Manage options
Integration with Visual Studio
Summary
2. Write Smarter Code
Code generation
Generating code for non-existent objects
Introduce variable
Generating constructors
Surround with
Generating object members
Using code editing helpers
Enhanced IntelliSense
Extending the code selection
Safe delete
Auto-importing namespaces
Quick documentation
Templates
Templates as snippets
File template
Customization
Multifile templates
Refactoring
Rename
Moving to a separate file
Refactor this…
Summary
3. Finding What You Need Quickly
Finding files
Going to a proper file
Bookmarks
The last edited location
Go to Everything
Searching code references
Go to Declaration
Code usage
The Navigate to feature
Displaying code structure
File members
The File Structure window
Value Origin and Destination
Navigating to the library code
Summary
4. Making Your Code Better
Code quality analysis
Background analysis
Solution-wide inspections
Disabling code inspections
Code Issues
Eliminating errors and code smells
Quick fixes
Fix in scope
Structural Search and Replace
Code Cleanup
Summary
5. Extended Support for Web Developers
ASP.NET Web Forms and ASP.NET MVC tools
Writing ASP.NET smartly
Templates
Enhanced navigation
ASP.NET MVC specific support
Support for JavaScript
Smart IntelliSense
The Code Analysis and refactoring options
Navigation and smart usages
Structural Search and Replace (SSR)
Support for TypeScript
Support for HTML/CSS
Writing HTML/CSS code
CSS hierarchy
Navigation
Browser compatibility support
Templates
Code analysis
Summary
6. Unit Testing
Test runner
The Unit Test Explorer window
The Unit Test Sessions window
Testing JavaScript
Running JavaScript unit tests
Integration with PhantomJS
Analyzing code coverage with dotCover
Summary
7. Extending ReSharper
Why you should extend ReSharper
The ReSharper API
Platform
Program Structure Interface (PSI)
Features and plugins
Daemons
Internal mode
PSI Browser
PSI Module Browser
PSI Viewer
Enabling the Internal mode
The ReSharper SDK
Installing the ReSharper SDK
Getting the required NuGet packages
Your first plugin
Creating a project
Project elements
Assembly info
Actions
Context action
Other project elements
Debugging a plugin
Deploying a plugin
Your plugin in action
Sample SDK plugins
Summary
8. Tools for Architects
Architecture View
Advanced references view
The Referenced Code window
The Optimize References window
Global refactoring
Summary
9. Code Analysis Beyond Visual Studio
Finding code duplicates
Running code analysis
TeamCity
Summary
10. Recommended Plugins
The ReSharper gallery
xUnit.net tests support
Mnemonic Live Templates
Support for AngularJS
JSLint for ReSharper
The Utility Pack
Summary
A. Keyboard Shortcuts
Write smarter code
Finding what you need quickly
Extended support for web developers
Unit testing
Index
- 合同解除制度研究(李晓钰)
- Daughters of the Puritans: A Group of Brief Biographies(Seth Curtis Beach)
- 热处理工程师理论基础(刘宗昌)
- 文治帝国:大宋300年的世运与人物【畅销书《一看就停不下来的中国史》作者重磅新书!】(艾公子)
- 谦逊的问讯:以询问开启良好关系的艺术(原书第2版)((美)埃德加·沙因,(美)彼得·沙因)
- 全国名校二外英语考研真题详解(圣才电子书)
- Gone With the Windsors(Laurie Graham)
- 家庭营养套餐(《健康餐桌》编委会编)
