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

Dan Allen (JIRA) jira-events at lists.jboss.org
Thu May 26 15:03:00 EDT 2011

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

Dan Allen commented on SEAMFORGE-172:

I think we should probably provide minimal in-project refactoring support

Agreed, the scope is in-project. I'm not suggesting that we match the functionality and scope an IDE provides. But refactoring is essential to being able to intelligently manipulate the project.

I don't think this should be a priority for us since we are encouraging use of Forge + IDE of choice.

I think it should be a medium priority. The priority is for the plugins, not necessarily for providing top-level refactoring commands. Plugins will often need to effectively do a refactoring, and without that control, the plugin will have to hack and slash...which is what we want to be able to avoid.

To make my position clear, I do still see this as a complement to and IDE.

> 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