Skip to content

Commit

Permalink
Error message for no file open (trypear/pearai-app#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryingpannn authored and nang-dev committed Oct 6, 2024
1 parent 9d92111 commit 168e3bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extensions/vscode/src/extension/VsCodeMessenger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ export class VsCodeMessenger {
const editor = vscode.window.activeTextEditor;

if (!editor) {
vscode.window.showErrorMessage("No active editor to apply edits to");
vscode.window.showErrorMessage(
"No active editor to apply edits to. Please open a file you'd like to apply the edits to first.",
);
return;
}

Expand Down

0 comments on commit 168e3bf

Please sign in to comment.