Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-113279

qmlls: Goto Type Definition returns path instead of URI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.6
    • QML: Tooling
    • None

    Description

      When using Kate with qmlls, Goto TypeDefiniton seems to be broken because we apparently return a path instead of a URI.

       

      Way to reproduce: Open the filesystemexplorer example, click on MyMenuBar and select "Goto Type Definition".

       

      Using QUrl::fromLocalFile in QmlGoToTypeDefinitionSupport::process before assigning to l.uri seems to help, but it's unclear if we shouldn't normalize to an URI

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              fabiankosmale Fabian Kosmale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes