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
For Gerrit Dashboard: QBS-1685 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
480979,12 | Allow exporting/importing settings to/from JSON | 2.1 | qbs/qbs | Status: MERGED | +2 | -1 |