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

qmlls: don't persist documentation DB on Disk

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • 6.8
    • 6.8, 6.9, 6.10
    • QML: Tooling
    • None

    Description

      It seems that the code that takes care of loading the documentation files actually persists the documentation DB on disk. If the DB is already in the disk, then qmlls ignores the documentation path it gets and just loads the DB instead. This leads to some weird scenarios:

      • qmlls will show documentation hints even when run without --doc-dir because it loads the previous DB when existing
      • qmlls will show documentation hints of the first --doc-dir it was invoked with, so multiple qmlls running on different qt versions all show the same documentation hints from the same qt version

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes