Skip to content

Commit 899dd8b

Browse files
CopilotRodgeFu
andauthored
Move "Launching TypeSpec language service..." progress to status bar (#10523)
The VS Code notification for TypeSpec language service startup is not dismissible, blocking parts of the UI (notably the AI chat panel). - Changed `ProgressLocation.Notification` to `ProgressLocation.Window` in the `vscode.window.withProgress` call in `extension.ts` - The progress indicator now appears in the status bar instead of as a popup notification, avoiding UI obstruction entirely --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: RodgeFu <6038235+RodgeFu@users.noreply.github.com>
1 parent 5f2a2c8 commit 899dd8b

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: fix
3+
packages:
4+
- typespec-vscode
5+
---
6+
7+
Show "Launching TypeSpec language service..." progress in the status bar instead of as a notification to avoid blocking the UI

packages/typespec-vscode/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export async function activate(context: ExtensionContext) {
256256
return await vscode.window.withProgress(
257257
{
258258
title: "Launching TypeSpec language service...",
259-
location: vscode.ProgressLocation.Notification,
259+
location: vscode.ProgressLocation.Window,
260260
},
261261
async () => {
262262
return await recreateLSPClient(context, ssTel.activityId);

0 commit comments

Comments
 (0)