[jbosstools-issues] [JBoss JIRA] (JBIDE-1246) service beans code completion is broken

Max Rydahl Andersen (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 8 05:14:45 EST 2011


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

Max Rydahl Andersen commented on JBIDE-1246:
--------------------------------------------

AS7 doesn't have this notion anymore so not relevant unless someone really wants it and contribute it.
                
> service beans code completion is broken
> ---------------------------------------
>
>                 Key: JBIDE-1246
>                 URL: https://issues.jboss.org/browse/JBIDE-1246
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>             Fix For: LATER
>
>
> While fixing the identification of service xml I found that the code completion is broken in service.xml
> It looks like the code is searching for code completions manually and assumes way too much about what the searchengine can/should find.
> e.g. PackageTypeSearcher.getPackage() assumes only one packagefragment per name will be found, but that is not the case if you have multiple projects with the same jar  or simply uses the same package name in diffeerent projects.
> One way to solve it is to use the built in codecompetlion in JDT - an example of that is to be found in CompletionHelper.java in the hibernate plugins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list