Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3015

h:outputScript and h:outputStylesheet should be treated as JS and CSS respectively

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.1
    • Fix Version/s: None
    • Component/s: javaee - JSF Editor
    • Labels:
      None

      Description

      JSF h:outputScript and h:outputStylesheet can embed JavaScript and CSS code. However, NetBeans trets it as plain text, which means no syntax highlighting, and missing format when autoformatting.

      See an example after autoformatting:

       

      NetBeans should treat h:outputScript as JavaScript and h:outputStylesheet as CSS.

        Attachments

        1. image-2019-08-22-12-06-34-853.png
          109 kB
          Guillermo González de Agüero

          Activity

            People

            • Assignee:
              javajuneau Josh Juneau
              Reporter:
              ggam93 Guillermo González de Agüero
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: