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

Error when Language Server announce capabilities colorProvider or renameProvider/prepareProvider

    XMLWordPrintable

Details

    • macOS
    • 71fa2d950c938bcda279a5e5d8d0c64635030906 (qt-creator/qt-creator/4.10)

    Description

      QT Creator complains about certain valid capabilities in the initialize message response from the Language Server.

      When colorProvider is present (but false) the "General Messages" log says "Expected type Object but value contained Bool->colorProvider->capabilities".

      When renameProvider is present with a prepareProvider the "General Messages" log says "Expected type Bool but value contained Object->renameProvider->capabilities".

      See log for details.

      (This is for an unreleased LS, using lsp4j, but the bugs seem to be general. I am not currently a Qt user, I only use Qt Creator for testing my language server.)

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-22691
        # Subject Branch Project Status CR V

        Activity

          People

            davschul David Schulz
            per.mildner Per Mildner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes