您的位置:首页 > 其它

Refactor! Pro v.3.0.1 (Beta) released on 4 Dec 2007

2007-12-04 23:35 381 查看
Refactor! Pro v.3.0.1 (Beta) released on 4 Dec 2007

IMPORTANT NOTE

v3.0 supports only VS2005 & VS2008

DXCore

New Features

JavaScript language support – Added JavaScript language parser and code generation is added.
New CodeMod services for managing Code Providers.
New ContractServices for managing ContractProviders.
Added new SmartTagProvider component and CodeRush.SmartTags service to allow plug-in developers to participate in smart tags.

Resolved Issues

B20928 - Unexpected dialog displayed when clicking on link in User Guide
B19009 - DXCore Bug - CompilerDirectives property returns null for AllOpenFiles inside active solution.

Refactor Pro

New Features

New Refactorings

"Convert to Auto-implemented Property (convert all)" - Removes the backing store and converts all properties to Auto-implemented Properties.
“Rename Alias” – Renames namespace aliases.

New ASP.NET Refactorings

Add AssociatedControlID Attribute - Adds to Label control "AssociatedControlID" attribute which when set automatically sets focus to the associated control if you click on the label.
Add RunAt Attribute - Adds runat="server" attribute to controls or tags.
Convert to Points - Converts to the equivalent point amount.
Convert to Pixels - Converts to the equivalent pixel amount.
Convert to Skin - Creates a skin based on the style, copying the styling and assigning a skinid to controls using the old class style.
Make Id Unique - Makes an ID unique. Available on tags with IDs that conflict with another tag’s ID.
Merge Styles - Combines selected styles into a single style.
Move Style Attributes To External CSS - Moves style attributes to external CSS file.
Move Style Attributes to Theme SID - Moves styling attributes from the active control to a theme (using SkinID attribute).
Move Style Attributes to Theme - Moves styling attributes from the active control to a theme.
Reorder Attributes - Rearranges the order of attributes for the active tag.
Set CSSClass - Adds CssClass attribute to selected controls.
Split Style - Breaks an existing style at the caret into two styles.
Toggle ViewState - Adds a ViewState attribute or invert value of existing attribute.

Changed

Create Method Contract

Create Method Contract was completely reworked to provide a new modular architecture. Plug-in developers can now provide contracts with the new ContractProvider component.

Existing ContractProviders

"Exit Method" - Generates exit for the active member
"Throw Exception" - Generates throw exceptions for the active member
"Use Assertions" - Generates assertions for the active member
"Out Parameters" - Generates initialization for the out parameters

Smart Tags

Performance optimization added that displays the smart tag once the first available item is found.

Resolved Issues

B20711 - Refactor does not appear on context menu
B18803 - C++ - Add Parameter - It allows parameter to be added after default parameters
B20282 - Convert to Auto-implemented Property sometimes doesn't remove fields
B20636 - "Collapse Getter" and "Collapse Setter" refactorings delete #warning directives
B18355 - Inline Recent Assignment - Incorrect results if there is a reference to the processed variable outside the processing code block
B18801 - Inline Recent Assignment refactoring generates code that can't be compiled
B18352 - ASP.NET - Extract UserControl - The value of the AutoEventWireUp attribute in the resulting user control is incorrect
B20927 - Add Parameter does not add XML doc comment stub for the new parameter if there are no calls to the method
B20930 - Compress to Lambda Expression fails to generate parameters when used on a non-parameterized anonymous delegate
B20571 - Optimize Namespace References takes 2 executions to remove the duplicate usings
B50165 - Remove Redundant Assignment work incorrectly with assignment complex operators
B18302 - Rename of the master page doesn't update the .designer file in ASP
B20704 - XML comments munged when creating an overload
B20903 - Boolean to Enum needs to drop marker when applied
B20929 - Create Setter Method should drop marker at field when applied
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: