Examples
- 2 minutes to read
The following topics provide step-by-step instructions on different CodeRush use case scenarios.
Code Generation
- How to: Create a Template from Scratch
- How to: Create a Template from an Existing One
- How to: Add a License to Code Files
- How to: Create a Custom Embedding and Assign a Shortcut to it
Refactorings
- How to: Repeat Last Refactoring
- How to: Assign a Keyboard Shortcut to a Refactoring
- How to: Remove Unused Members from Code
Navigation
Code Cleanup
Organize Members
- How to: Create a Rule
- How to: Add a Comment to the Start of a Section
- How to: Wrap Multiple Sections into Regions
- How to: Create Regions for Explicit Interface Implementations
- How to: Group Interface Implementations and Wrap them into Regions
- How to: Group Event Handlers and Wrap them into a Region
- How to: Group Members by Member Type Name
- How to: Group Members by Member Name
- How to: Group and Sort Properties with Backing Fields
Formatting
Code Analysis
Settings
- How to: Move CodeRush Settings to Another Machine
- How to: Define Persistent Local Settings
- How to: Share CodeRush Settings with a Team
- How to: Resolve Keyboard Shortcut Conflicts
More Usage Scenarios
The following topics are available:
- Recover previous clipboard contents (Clipboard History)
- Select a part of a camelCase word
- Select multiple separate text blocks simultaneously
- Embed a selection into a try..catch block
- Automatically perform stereotype changes in your code
- Automatically add new members to your types
- Add code blocks with a few keystrokes
- Duplicate a line several times with small changes
- Find any place of your solution in a few seconds
- Find possible issues in your code
- See and change any color in your code
- Let CodeRush handle your team’s code style rules
- Let CodeRush handle your team’s naming conventions
- Precisely configure the code formatting rules
- Use different settings in different solutions
- Format and refactor any amount of code in a single click
- Greatly improve the debugging process
- Run .NET unit tests
Other scenarios are described in this section’s subtopics.