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

Add LSP support to upstream CMake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.6.1
    • Build System: CMake

    Description

      It would be useful for upstream CMake to provide an LSP server, so it can integrate with IDEs.

      Regular features would be:

      • Follow symbol / go to declaration (targets, variables, properties, commands, cmake module files, Find scripts, found find_package() Config files )
      • Find usages (variables, commands, targets for known commands)
      • Rename variable / command / property
      • Code auto completion (variable, property, command names, options for known commands)
      • Hover documentation (well known commands, variables, properties)

      Nice to have features:

      • Code formatting

      Nice to have features that would perhaps use a custom extension to the LSP protocol:

      • Source file addition to add_executable / target_sources calls (even custom commands, like qt_add_executable / qt_add_qml_module / add_jar)

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes