[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-1246) service beans code completion is broken
Max Andersen (JIRA)
jira-events at lists.jboss.org
Thu Nov 1 17:39:56 EDT 2007
service beans code completion is broken
---------------------------------------
Key: JBIDE-1246
URL: http://jira.jboss.com/jira/browse/JBIDE-1246
Project: JBoss Tools
Issue Type: Bug
Components: JBossAS
Reporter: Max Andersen
Assigned To: Rob Stryker
Fix For: 2.1
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 contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list