Does resharper provide any code refactoring for VS that isn't in Eclipse?

And if there are Eclipse plugins that add these types of code refactoring to eclipse?

Note: for C # / Java respectively.

+4
source share
1 answer

Most JetBrains ReSharper refactoring features are already in Eclipse.

But Eclipse Helios 3.6 (released in July) actually introduces one revised refactoring:

3.6-M6 :

Converting a member type to top-level refactoring has been renamed "Move type to a new file" and now allows you to move any secondary type to a file in your own file. The action continues to work for member types.

alt text http://download.eclipse.org/eclipse/downloads/drops/S-3.6M6-201003121448/images/move-type-to-new-file-refactoring.png

and improves the extraction method:

3.6-M1

Extract method refactoring now processes selections containing continue statements. To preserve the semantics of existing code, the selection must include the last statement of the loop. In the extracted method, continue statements are modified to return

alt text http://download.eclipse.org/eclipse/downloads/drops/S-3.6M1-200908061400/images/extract-method-continue.png

For a choice that requires multiple return values ​​in the extracted method, Eclipse now lists the conflicting variables in the error message:

alt text http://download.eclipse.org/eclipse/downloads/drops/S-3.6M1-200908061400/images/extract-method-multiple-return-values.png

+3
source

Source: https://habr.com/ru/post/1309866/


All Articles