Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-3480

Tag Completion for Custom Tags - Broken in upgrade?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 3.0.0.cr1
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            kragoth_jira Tim Evers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: