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

Define cursor location for VPE Code Templates

XMLWordPrintable

      Use ${cursor} variable to define cursor location after code template insertion

      For example, would be good to have cursor by default installed into template attribute of "Blanck FAcelet Page" template like:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">

      <ui:composition template="${cursor}">
      </ui:composition>
      </html>

            ibuziuk@redhat.com Ilya Buziuk
            nivologd@gmail.com Denis Golovin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: