Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21869

Syntax highlight for backtick and template literals not supported

    XMLWordPrintable

Details

    • All
    • 6b270b8dc9 (qt-creator/qt-creator/master) a3b1dfd34a (qt-creator/qt-creator/7.0) a3b1dfd34a (qt-creator/qt-creator/master) a3b1dfd34a (qt-creator/qt-creator/qds-3.3) a3b1dfd34a (qt-creator/tqtc-qt-creator/7.0)

    Description

      Ecmascript 7 support in Qt 5.12 introduced backtick and template literals for javascript (among other things), but Qt Creator does not support these. In other words, those are shown as syntax error in Qt Creator text editor.

      This is related to QTBUG-71812

      Please find the attached ecmascript7.js file

      Attachments

        1. ecmascript7.js
          0.2 kB
        2. image.png
          image.png
          9 kB
        3. image-2020-06-16-12-47-24-678.png
          image-2020-06-16-12-47-24-678.png
          9 kB
        4. Screenshot_20211129_115711.png
          Screenshot_20211129_115711.png
          37 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              fawzi Fawzi Mohamed
              pekarjal Pekka Karjalainen
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes