Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions source/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,6 @@
{
"command": "qsharp-vscode.addProjectReference",
"when": "resourceFilename == qsharp.json"
},
{
"command": "qsharp-vscode.updateCopilotInstructions"
}
],
"view/title": [
Expand Down Expand Up @@ -374,6 +371,14 @@
"contents": "Connect to Azure Quantum\n[Connect to an existing workspace](command:qsharp-vscode.workspacesAdd)\nNote: For the first workspace added there may be several consent prompts to grant VS Code access.\nFor more information about the QDK and Azure Quantum, visit [https://aka.ms/AQ/Documentation](https://aka.ms/AQ/Documentation)."
}
],
"chatInstructions": [
{
"path": "./resources/chat-instructions/qsharp.instructions.md"
},
{
"path": "./resources/chat-instructions/openqasm.instructions.md"
}
],
"commands": [
{
"command": "qsharp-vscode.gotoLocations",
Expand Down Expand Up @@ -522,11 +527,6 @@
"command": "qsharp-vscode.showChangelog",
"title": "Show Changelog",
"category": "QDK"
},
{
"command": "qsharp-vscode.updateCopilotInstructions",
"category": "QDK",
"title": "Add Copilot instructions file for Q# and OpenQASM"
}
],
"breakpoints": [
Expand Down
4 changes: 0 additions & 4 deletions source/vscode/src/createProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import * as vscode from "vscode";
import { qsharpExtensionId } from "./common";
import registryJson from "./registry.json";
import { EventType, sendTelemetryEvent } from "./telemetry";
import { updateCopilotInstructions } from "./gh-copilot/instructions";

export async function initProjectCreator(context: vscode.ExtensionContext) {
context.subscriptions.push(
Expand Down Expand Up @@ -63,9 +62,6 @@ export async function initProjectCreator(context: vscode.ExtensionContext) {
"Unable to create the project. Check the project files don't already exist and that the file system is writable",
);
}

// Call updateCopilotInstructions to update the Copilot instructions file
await updateCopilotInstructions("Project", context);
},
),
);
Expand Down
4 changes: 2 additions & 2 deletions source/vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { CircuitEditorProvider } from "./circuitEditor.js";
import { initProjectCreator } from "./createProject.js";
import { activateDebugger } from "./debugger/activate.js";
import { startOtherQSharpDiagnostics } from "./diagnostics.js";
import { registerGhCopilotInstructionsCommand } from "./gh-copilot/instructions.js";
import { removeDeprecatedCopilotInstructions } from "./gh-copilot/instructions.js";
import { registerLanguageModelTools } from "./gh-copilot/tools.js";
import { activateLanguageService } from "./language-service/activate.js";
import {
Expand Down Expand Up @@ -88,7 +88,7 @@ export async function activate(
await initProjectCreator(context);
registerLanguageModelTools(context);
// fire-and-forget
registerGhCopilotInstructionsCommand(context);
removeDeprecatedCopilotInstructions(context);

// Show prompt after update if not suppressed
maybeShowChangelogPrompt(context);
Expand Down
Loading
Loading