在上一篇中,我錯誤的將SummberOfNHibernate的作者所使用的工具當作是ReSharper,在這裡給大家道歉了,後來和作者聯絡了一下,發現了另外一個好工具,呵呵,因為ReSharper的確很優秀,國內的資料還多一點。那就是CodeRush。
做.Net開發的很多人都知道DevExpress,很強大的控制項廠商,而且可以得到它的源碼(收費的哦),而這款CodeRush同樣來自這家很優秀的公司。在SON中,所使用的是註冊版的CodeRush and RefactorPro,好東西就有好價格,它的使用費是249+39$/Y,一般的程式員是受不起的。幸好,CodeRush Xpress出現了,官網已經改名了,叫DXCore for Visual Studio,這是一個對個人的免費版本,包含了CodeRush 和 RefactorPro的部分功能。
[Official Site]有
官方的介紹,看起來是不是很誘人:
The new CodeRush Xpress product offers a very useful subset of the more advanced CodeRush + RefactorPro capabilities. Following is the list of refactorings that the Xpress product offers for 100% free….
- Add Block Delimiters
- Combine Conditionals
- Compress to Lambda Expression
- Compress to Ternary Expression
- Convert to Auto-implemented Property
- Convert to Initializer
- Create Backing Store
- Decompose Initializer
- Decompose Parameter
- Expand Lambda Expression
- Expand Ternary Expression
- Extract Method
- Flatten Conditional
- Inline Delegate
- Inline Temp
- Introduce Local
- Make Explicit
- Make Implicit
- Move Type to File
- Name Anonymous Method
- Name Anonymous Type
- Reverse Conditional
- Split Conditional
- Use String.Format
- Use StringBuilder
In addition, several of the more valuable and frequently-used CodeRush code navigation, editing, highlighting, etc. features are provided…
- Duplicate Line
- Highlight All References
- Increase or Reduce Selection
- Smart Clipboard Operations
- Generate from Using (TDD)
- Quick Navigation Window
- Quick File Navigation
軟體我還沒開始使用,但興奮之情已經溢於言表,我會在使用之後寫出一些具體的用法,供大家交流學習。Thanks.
再次感謝SummberOfNHibernate的作者Steve,你可以從這裡瞭解他,這裡有他對DXCore的介紹,點擊。