Details

    • Technical task
    • Resolution: Fixed
    • P2: Important
    • None
    • QML: Tooling
    • None
    • 4f0b19cda (dev), 47e76e83b (dev), a8cb8731c (dev), c5100d5b8 (dev), 5b8cb2f96 (dev)

    Description

      To generate the semantic token data, dom elements are visited and their source location in the file is used to encode semantic token, as described in the protocol.

      The way to obtain source code using the Dom API is usually by creating a locationRegion and associate it with DomItem's source location. Then it is registered under FileLocationsTree field of the Qmlfile. A plenty of FileLocationRegions has already been implemented but for semantic highlighting to be completed a few of them still seem missing.

      In this subtask, implement file location regions for:

      – Import related regions, (import, as, versionNumber, import uris)

      – Function declarations (function  keyword, identifier, and type annotations)

      – Enum keyword and items as well as identifiers

      – Pragma keyword and values as well as identifiers

       

      Attachments

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

        Activity

          People

            semih.yavuz Semih Yavuz
            semih.yavuz Semih Yavuz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes