Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. In Vim, the `qmlls` language server doesn't show hover tooltips and doesn't jump to definitions of built-in QML types
Qt 6.11 is out! See what's new in the release blog

In Vim, the `qmlls` language server doesn't show hover tooltips and doesn't jump to definitions of built-in QML types

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 92 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shamaoke
    wrote last edited by
    #1

    The language server doesn't show hover tooltips for types or type properties. When triggering the LspHover command, the Vim client plugin returns the warning No documentation found for current keyword.

    Jumping to definitions of built-in QML types also doesn't work. When triggering the LspGotoDefinition command, the LSP client plugin returns the warning symbol definition is not found.

    Other language server features I've checked do work. Namely: autocompletion for both built-in and custom types, autocompletion of type properties, and jumping to definitions of custom types created both in QML and in C++. Hover tooltips as a feature also work in general, but for files with code in other programming languages (e.g. C++) with other language servers (e.g. clangd).

    What could be causing this behavior? How can I make the language server show hover tooltips and jump to definitions of built-in types?

    .qmlls.ini

    [General]
    no-cmake-calls=false
    buildDir="/home/user/.workspace/playground/qt/learn_qt/sample-0005/build-debug"
    docDir=/usr/share/doc/qt6
    importPaths="/usr/lib/qt6/qml"
    

    Arch Linux

    Qt 6.11.2

    Vim 9.2

    lsp — Language Server Protocol plugin for Vim9 yegappan/lsp

    qmlls 6.11.2

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved