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

Quick-fixes are duplicated in VPE editor

XMLWordPrintable

    • Hide

      Steps to reproduce:

      EXECUTE: Create or use existing JSF 2.0 KickStart project
      EXECUTE: Open WebContent/pages/inputname.xhtml page in JBoss Tools HTML Editor
      EXECUTE: Remove the library definition for prefix 'ui' from a root element and save the file.
      EXECUTE: Point text cursor on some tag with "ui:" prefix and press Ctrl-1 due to see available Quick-Fixes.
      ASSERT: There is only one Quick-Fix named as "Insert 'xmlns:ui = "http://java.sun.com/jsf/facelets"' tag library definition"
      FAIL: there are two equal Quick-Fixes shown.

      Show
      Steps to reproduce: EXECUTE: Create or use existing JSF 2.0 KickStart project EXECUTE: Open WebContent/pages/inputname.xhtml page in JBoss Tools HTML Editor EXECUTE: Remove the library definition for prefix 'ui' from a root element and save the file. EXECUTE: Point text cursor on some tag with "ui:" prefix and press Ctrl-1 due to see available Quick-Fixes. ASSERT: There is only one Quick-Fix named as "Insert 'xmlns:ui = "http://java.sun.com/jsf/facelets"' tag library definition" FAIL: there are two equal Quick-Fixes shown.

      VPE editor shows the same quick-fix twice.

        1. DoubledQuickFix.png
          322 kB
          Victor Rubezhny
        2. MarkerOnRullerTooltip.png
          324 kB
          Victor Rubezhny
        3. MarkerPlusAnnotationTooltips.png
          330 kB
          Victor Rubezhny

            dazarov_jira Daniel Azarov (Inactive)
            vrubezhny Victor Rubezhny (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: