Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 16.0.0
-
None
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:
- clone dev branch of qtdeclarative && build qmlls target
- Add LanguageServer in the QtC with the binary pointing to the freshly built qmlls
- Open a qml file attached
Feel free to reach out to me for more info if needed
Attachments
Issue Links
- relates to
-
QTBUG-97637 QML Language Server Support for IDEs (like VSCode, QtC)
- In Progress
-
QTCREATORBUG-31766 QtC Outline View doesn't render/fetch "detail" field from QmlLS
- Closed