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

QtC Outline View missing/confusing icons when using QmlLS

    XMLWordPrintable

Details

    Description

      As part of the https://bugreports.qt.io/browse/QTBUG-120002 I have implemented Document Symbols request support for the QmlLS.

      Unfortunately, QtC is either lacking support for some of the "SymbolKind"-s (from the lsp specs) and/or associate different icons with them.

      For example SymbolKind::Event and SymbolKind::Method have the same icon. SymbolKind::Class results in some form of "namespace", which is prolly ok, but the "in-built" version represents it as some form of "square...".

       

      I'm also attaching the VSCode view as for the reference / inspo

       

      Steps to reproduce:

      1. clone dev branch of qtdeclarative  && build qmlls target
      2. Add LanguageServer in the QtC with the binary pointing to the freshly built qmlls
      3. Open a qml file attached

       

      Feel free to reach out to me for more info if needed

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              dima.a Dmitrii Akshintsev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes