[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2314) Tag auto complete in JSF editor partially working

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Jun 10 12:08:25 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2314?page=comments#action_12416297 ] 
            
Max Rydahl Andersen commented on JBIDE-2314:
--------------------------------------------

im not sure what you are missing ? The info is all in the description/comment.

Example:
Type: <h:out then code complet it to outputText

If the bug is there it will just complete it as <h:outputText/>
if it works you should get something like <h:outputText value=""/> and the cursor ready inside the value.



> Tag auto complete in JSF editor partially working
> -------------------------------------------------
>
>                 Key: JBIDE-2314
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2314
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common, JSF
>    Affects Versions: 2.1.0.GA
>         Environment: Brand new JBDS 1.1 CR1 installation
>            Reporter: Andy Gibson
>         Assigned To: Alexey Kazakov
>             Fix For: 2.1.2, 3.0.alpha
>
>         Attachments: JBoss Developer Studio Example.jpg, JBoss Tools Example.bmp.jpg
>
>
> The problem happens in editing the source for a xhtml JSF page. 
> If you type "<h:outputTe" and press ctrl+space to auto complete, the <h:outputText> tag appears as an option for completion. If you select it, it simply puts the element in the source, but doesn't include any attributes. It completes it as : 
> <h:outputText />
> Compare this to JBoss Tools, if you type the same thing and use the auto complete, the IDE completes it as : 
> <h:outputText value=""></h:outputText value> 
> with the value="" included and the caret positioned between the two quotes read for typing the value and the EL auto complete box ready to help (see screenshots). Notice also that in the first case, it completes it as a single element, whereas in JBoss Tools it has 2 separate open and close elements.
> I can reproduce this on a new project and as I said, this is a fresh installation of JBDS . I have used various versions of JBoss tools, and it has had the tag auto completion for a while (although there was a point where it was broken, that was ages ago).
> While it isn't a big deal, when you get used to it being there and it is suddenly missing, you notice it! Let me know if you have problems reproducing it.
> Cheers,
> Andy Gibson

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