diff --git a/vscode/src/createProject.ts b/vscode/src/createProject.ts index 7f8c4d7b6c..07bd5acdc4 100644 --- a/vscode/src/createProject.ts +++ b/vscode/src/createProject.ts @@ -229,7 +229,10 @@ export async function initProjectCreator(context: vscode.ExtensionContext) { )!; const versionChoice = await vscode.window.showQuickPick( - chosenPackage.dependency.github.refs, + chosenPackage.dependency.github.refs.map(({ ref, notes }) => ({ + label: ref, + description: notes, + })), { placeHolder: "Pick a version to import" }, ); diff --git a/vscode/src/registry.json b/vscode/src/registry.json index 94a4ffd95c..3d00fa1708 100644 --- a/vscode/src/registry.json +++ b/vscode/src/registry.json @@ -7,7 +7,10 @@ "github": { "owner": "Microsoft", "repo": "qsharp", - "refs": ["546b053"], + "refs": [ + { "ref": "546b053", "notes": "latest stable" }, + { "ref": "main", "notes": "nightly, unstable" } + ], "path": "library/signed" } } @@ -19,7 +22,10 @@ "github": { "owner": "Microsoft", "repo": "qsharp", - "refs": ["546b053"], + "refs": [ + { "ref": "546b053", "notes": "latest stable" }, + { "ref": "main", "notes": "nightly, unstable" } + ], "path": "library/signed" } } @@ -31,7 +37,10 @@ "github": { "owner": "Microsoft", "repo": "qsharp", - "refs": ["546b053"], + "refs": [ + { "ref": "546b053", "notes": "latest stable" }, + { "ref": "main", "notes": "nightly, unstable" } + ], "path": "library/rotations" } } @@ -43,7 +52,10 @@ "github": { "owner": "Microsoft", "repo": "qsharp", - "refs": ["546b053"], + "refs": [ + { "ref": "546b053", "notes": "latest stable" }, + { "ref": "main", "notes": "nightly, unstable" } + ], "path": "library/qtest" } }