[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-2321) Problems with auto completion

Andy Gibson (JIRA) jira-events at lists.jboss.org
Tue Jun 10 14:16:16 EDT 2008


Problems with auto completion
-----------------------------

                 Key: JBIDE-2321
                 URL: http://jira.jboss.com/jira/browse/JBIDE-2321
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Ganymede, JSF, Seam
         Environment: JBoss Tools Nightly Build (JBossTools-200806100349-nightly-ALL-win32.zip) and the build drivers for that build (Eclipse 3.4 RC3, WTP 3.0 RC3) Windows XP
            Reporter: Andy Gibson


The problem is demonstrated in the attached movie file :

Create a new application, and open home.xhtml and move to the end.
Start typing <h:outputte and when auto complete pops up, select outputText, the tag is put into the document and the value="" attribute is also added. The caret is placed between the double quotes and the auto completion selection pops up. 

Initially, the list of values in the auto completion box consists of everything that should be there, but it is not wrapped in an EL expression #{ ... } (i.e. "conversation" is there, but not "#{conversation}").  As soon as you type #{ in the page, the code completion dialog filters out most of the values, except the basic EL expressions (#{applicationScope},  #{param}, #{facesContext}, #{cookie}). 

To get proper code suggestions, you need to close the code completion pop up, and re-open it to get the right list of values, i.e. Seam generated suggestions,

It almost looks like in the initial pop up, the values are there, but they are not wrapped in #{ ... }, while when you bring it up again, the values are there, and they have the #{ ... }

This is mostly a problem because it happens in the auto-completion box that is popped up when the IDE auto completes a JSF tag. 

-- 
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