[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-585) el expression code completion beeps and errors even though there are completions available

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Mon Jul 30 13:15:49 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-585?page=comments#action_12370451 ] 
            
Victor Rubezhny commented on JBIDE-585:
---------------------------------------

org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor class is used as content assist processor for an XML file. This processor (in your case) keeps inside two content assist processors: 
org.jboss.tools.seam.ui.text.java.SeamELProposalProcessor  (it's our Seam EL content assist processor and it returns proposals in your example) and org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor (it's standard WTP content assist processor for XML and it doesn't return any proposals in your example, but return an error message "Content Assist not available at the current location"). 

When Compound Content Assist processor is asked for proposals, it collects all the proposals from the all the CA processors it keeps as well as error messages from these CA processors. Then it just shows them both - proposals and last error message simultaneously. It's how it normally works.

So, it seems that it's not a bag, but feature.

We can try to fix this, but do we really need it?

> el expression code completion beeps and errors even though there are completions available
> ------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-585
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-585
>             Project: JBoss Tools
>          Issue Type: Bug
>            Reporter: Max Andersen
>         Assigned To: Victor Rubezhny
>
> <factory name="facName" value="#{
> do code completion here and it will beep and say "Content assist not available a current location" and then show a list of completions...

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