qdk icon indicating copy to clipboard operation
qdk copied to clipboard

Allow `targetProfile` setting in qsharp.json

Open minestarks opened this issue 1 year ago • 2 comments

Today, we allow configuring the target profile in VS Code and in Python (through qsharp.init) but there is no way to persist the profile setting along with a qsharp.json project.

We can add a new field, targetProfile to qsharp.json. The compiler, language service and Python library would respect this setting. This configuration would override the existing means of setting the target profile (VSCode setting and qsharp.init).

minestarks avatar Jan 19 '24 19:01 minestarks

@minestarks if you start working on this could we sync? Before allowing that I think it would be worth considering options for targets that include "adaptive profile".

cesarzc avatar Feb 01 '24 22:02 cesarzc

@cesarzc do you think it'd also be useful if we allowed a list of specific runtime capabilities, in addition to target profile presets? the target profile presets would just be a known alias of runtime capabilities, as we've discussed

sezna avatar Feb 23 '24 19:02 sezna