【下載試用DevExpress 2016.1】
Code Analysis
Diagnostic Analyzers
2016.1引進一個全新的代碼 分析診斷工具,可以檢測并糾正代碼錯誤。可以將這個分析工具作為一個分析引用插入,也可以在一個獨立服務器作為一個靜態分析任務運行。目前包括的功能有:
- Duplicate conditional
- Exception missing throw
- Expression contains redundant subsets
- Expression is always the same
- If-block matches else-block
- Increase precision with built-in constant or call
- Integral divide operation cast to float
- Logical OR expression has opposite operands
- Logical OR expression redundancy
- Member always returns the same value
- Method call's return value ignored
- Next if-statement's body will never be reached
- Null check follows usage
- Redundant Sub-expressions in Binary Operation
- String format item/argument mismatch
- Subsequent else-if conditions are identical
- Subsequent if-statements have identical conditions
- Suspect assignment reversal
- Suspect variable reference in For-loop condition
- Suspect variable reference in For-loop iterator section
- Suspect variable reference in null-check following as-cast
- Ternary expression has identical branches
- Unreachable conditional code block (else same)
- Unreachable conditional code block (nested inverse)
- Variable is assigned twice in succession
Debug Visualizer
Debug Visualizer Expression Map
新版本首次將 DevExpress Expression Map 加入 CodeRush Classic:

Naming Rules & Code Style
支持Naming Convention Rules 和 Code Style
CodeRush for Roslyn 可以指定代碼樣式規則,定義變量、參數、字段和屬性的命名規則,這些規則同樣適用于新編寫的代碼字段。

Navigation改進
打開Jump To results in References Window
從這個版本開始,你可以在'Jump To'窗口的右上角單擊References按鈕查看所有references:

跳到反編譯代碼
用'Jump To'跳到 'decompiled code':

Sessions in References Window
References window 提供了多個選項卡,將搜索結果匯總起來:

Unit Test Runner
Test Execution Output
測試執行結果現在放在一個單獨的選項卡中。

Code Coverage Filtering
可以逐個篩選Code Coverage window列表中的搜索結果:

其他
- 支持NUnit 3.0
- Sessions in Test Runner
支持XAML
目前支持:
- XAML Navigation
- XAML Refactorings
Show Color
v16.1新增的'Show Color'可以預覽和更改顏色:

其他
- 改進Organize Members
- 改進Selection Embedding
- Target Picker - 選擇要移動或聲明的字段、方法和變量。
馬上下載試用DevExpress 2016.1
======================================================================
DevExpress專為企業客戶提供團隊、企業授權優惠方案,歡迎來電咨詢:023-66090381

標簽:
DevExpress代碼編輯代碼優化
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn