]
Andy Gibson updated JBDS-350:
-----------------------------
Attachment: JBoss Tools Example.bmp.jpg
This screenshot shows how it currently works in JBoss Tools. The XML element completes,
the attribute is added and the caret placed ready for typing with the EL autocomplete
popping up.
Tag auto complete in JSF editor partially working
-------------------------------------------------
Key: JBDS-350
URL:
http://jira.jboss.com/jira/browse/JBDS-350
Project: Developer Studio
Issue Type: Bug
Components: jsf
Affects Versions: 1.1.0.CR1
Environment: Brand new JBDS 1.1 CR1 installation
Reporter: Andy Gibson
Assigned To: Max Rydahl Andersen
Attachments: 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: