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

Syntax highlight for backtick and template literals not supported

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      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. Screenshot_20211129_115711.png
          Screenshot_20211129_115711.png
          37 kB
        2. image-2020-06-16-12-47-24-678.png
          image-2020-06-16-12-47-24-678.png
          9 kB
        3. image.png
          image.png
          9 kB
        4. ecmascript7.js
          0.2 kB

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes