Skip to content

Commit 16fcea5

Browse files
committed
add lear more link
1 parent 14ac5d6 commit 16fcea5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

vscode/src/gh-copilot/instructions.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,17 @@ export async function updateCopilotInstructions(
222222
buttons.push({ title: "Don't show again" });
223223
}
224224

225+
const modal = userInvoked;
226+
225227
const response = await vscode.window.showInformationMessage(
226228
"Add Q# guidance to copilot-instructions.md?\n\n" +
227-
"Updating this file will help GitHub Copilot understand and work better with Q# files and other Quantum Development Kit features.",
229+
"Updating this file will help GitHub Copilot understand and work better with Q# files and other Quantum Development Kit features.\n\n" +
230+
"Learn more at " +
231+
(modal
232+
? "https://aka.ms/qdk.copilot" // links don't render in modal dialogs
233+
: "[https://aka.ms/qdk.copilot](https://aka.ms/qdk.copilot)"),
228234
{
229-
modal: userInvoked,
235+
modal,
230236
},
231237
...buttons,
232238
);

0 commit comments

Comments
 (0)