推薦一個好工具:Refactor! for ASP.NET 2.0

來源:互聯網
上載者:User
  重構(Refactor),相信已經是大家常用的方法,自從vs2005支援重構後,用起來非常順手了.然而vss2005的重構功能畢竟還比較少.現向大家推薦一個由 Developer Express推出的免費VS add-on的重構工具Refactor! for ASP.NET.可以到 12-minute video overview先觀賞以下視頻,
目前能夠支援asp.net的重構:
  1. Add Validator
  2. Extract ContentPlaceHolder
  3. Extract ContentPlaceHolder (and create master page)
  4. Extract Style (Class)
  5. Extract Style (id)
  6. Move to Code-behind
  7. Move Style Attributes to CSS
  8. Rename Style
  9. Surround with Update Panel

同時也支援16種常用的重構方法

  1. Extract Method
  2. Extract Property
  3. Flatten Conditional
  4. Inline Temp
  5. Introduce Constant
  6. Introduce Local
  7. Move Declaration near Reference
  8. Move Initialization to Declaration
  9. Reorder Parameters
  10. Rename
  11. Replace Temp with Query
  12. Reverse Conditional
  13. Safe Rename
  14. Simplify Expression
  15. Split Initialization from Declaration
  16. Split Temporary Variable

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.