Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1685

Extend JSON API to request the list of profiles

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • General
    • None
    • All

    Description

      It would be good to have an additional JSON API to query the all available profiles throught the IPC.

      It is something like that the `qbs config --list` command does.

      For the IPC we can introduce a new request `type`, like `get-profiles`. The request content can contains the `settings-directory` property to specify a concrete settings location.

      This would be useful for the some IDE's integration to request the QBS profiles. Because right now, e.g. the VSCode extension calls the separate `qbs config --list` command and parses its output to show the list of profiles for the user.

      Attachments

        Activity

          People

            kandeler Christian Kandeler
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: