[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-3480) Tag Completion for Custom Tags - Broken in upgrade?

Tim Evers (JIRA) jira-events at lists.jboss.org
Mon Jan 5 02:20:54 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Evers closed JBIDE-3480.
----------------------------

    Resolution: Rejected


Helps if I actually read to the last step *sigh*

I had forgotten to edit the plugin.xml when I upgraded.
Sorry :(

Anyway if anyone is trying to do this:
http://docs.jboss.org/tools/3.0.0.CR1/en/jsf/html_single/index.html
and look at point 3.1.2.5

> Tag Completion for Custom Tags - Broken in upgrade?
> ---------------------------------------------------
>
>                 Key: JBIDE-3480
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3480
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.0.0.cr1
>         Environment: JBoss Tools 3.0.0-CR1
> Eclipse (Ganymede) 3.4.1
>            Reporter: Tim Evers
>
> Previously when I was using JBoss Tools 2.x,  I could get tag auto completion working for my custom tags.
> So in an xhtml page I could type
> < (then press Ctrl + Space) and my custom tags would appear in the list. Eg gekko:inputText
> The way I could get this working (and it is documented somewhere on how to do this but I can't find the link right now *sigh*) was to put a schema file in the folder located in \plugins\org.jboss.tools.common.kb_3.0.0.CR1-R200812191611\schemas\tld
> So my schema file looks like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE kb-schema PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 1.0//EN" "http://www.redhat.com/dtds/kb-schema_1_0.dtd">
> <schema prefix="gekko">   
> 	<element-type body-content="allowed" content="mixed" name="calendar" start-tag="required">
> 		<description></description>
> 	</element-type>
>         ...(all my other tags)
> </schema>
> And I put this file in the location, and previously all my tags would show up in the drop down list.
> But now using the same technique I cannot get my tags to show up anymore. Has the process changed? Or is there another step now? Or is this just a bug that has somehow been introduced.
> I think it is pretty important that we can have our own custom tags appear in the drop down list. (It would be better if I didn't have to manually copy a file to this location though) I mean I've already given it my xsd file for attribute autocompletion (which still works by the way) So why tag completion doesn't work off that is beyond me. IDEA users dont need the schema file for tag completion to work for them. The xsd file is enough.
> I've tried everything I can think of. I've completely reinstalled eclipse and jbossTools. I've tried taking a copy of an already existing xml schema file to make sure mine wasn't invalid. I've started eclipse with -clean. Nothing seems to make it work.
> (Any help workarounds would be very much appreciated)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list