售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜