CodeRush 17.2.8

使用上下文功能表從您的代碼創建範本。
4月 19, 2018
新版本

特性

Coding Assistance

  • Smart Duplicate Selection/Line (Shift+Enter) gets the following improvements:
    • Single letter identifier parts are automatically incremented/decremented if CodeRush detects an alphabetically-ordered pattern in the code.
    • Enhanced support for duplicating parameters and arguments, letting you quickly declare new parameters based on existing parameters and the selection. To duplicate a parameter, select its part(s) you want to change (selected parts becomes fields) and press Shift+Enter. Watch the video below to see examples of what you can do.
    • Expressions can now be duplicated. You can duplicate elements of string concatenation, bitwise, boolean and arithmetic expressions. Smart Duplicate Selection will insert a default operator and mark it with a TextField so you can change it later if needed.

Refactorings and Code Providers

  • The Invert Selection code provider gets a port from CodeRush Classic. Use this to invert selected lines of code in a variety of ways:
    • Assignments (a = b becomes b = a)
    • Boolean literals (true becomes false)
    • Addition/substraction assignments (a += b becomes a -= b)
    • Equality operators (== becomes !=)

Templates

  • Added the ability to create a template right from your code using a context menu. Select the code to create a template from, right-click and choose Selection to Template.
  • CodeRush automatically creates Links and Fields based on the selected code and opens the new template in the Template Editor.

Please Note: CodeRush for Roslyn has been renamed to CodeRush.

Create a template right from your code using a context menu

CodeRush

視覺化代碼和直觀地進行調試。

有任何疑問嗎?

Live Chat現在與我們的DevExpress 專家即時聊天詢問。