[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-172) Add refactoring capability to code manipulator

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Thu May 26 12:59:00 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFORGE-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604715#comment-12604715 ] 

Max Rydahl Andersen commented on SEAMFORGE-172:
-----------------------------------------------

This would require you to be an omnipotent IDE - I really don't think this is worth the effort compared to getting some good extendible reverse engineering/scaffolding going.

But that said, yes Eclipse does this based on AST; but you might be going into the plugins that requires osgi to actually run.

> Add refactoring capability to code manipulator
> ----------------------------------------------
>
>                 Key: SEAMFORGE-172
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-172
>             Project: Seam Forge
>          Issue Type: Feature Request
>          Components: Parsers / File Manipulation
>    Affects Versions: 1.0.0.Alpha3
>            Reporter: Dan Allen
>
> Although challenging, the ability to refactor within a project would be immensely powerful for plugin writers. Basic refactoring include renaming types, fields and methods. Matching updates to resource files (XML, Java properties, etc) would also be useful. We could see how far that could take us before deciding if more complex refactoring is necessary.
> I would suggest researching whether it's possible to extra the refactoring logic out of the Eclipse tooling into a reusable library (if it isn't already). Another option is RefactorIT, which used to be a proprietary plugin for the major Java IDEs but is now CDDL and GPL: http://sourceforge.net/projects/refactorit/  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-dev mailing list