Skip to content

Commit cb327dc

Browse files
committed
Added warning message to Jump to Tag and Offset
1 parent 4e545c6 commit cb327dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/jumpToTagAndOffset.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export async function jumpToTagAndOffset(): Promise<void> {
88
}
99
const nameMatch = file.name.match(/(.*)\.(int|mac)$/i);
1010
if (!nameMatch) {
11+
vscode.window.showWarningMessage("Jump to Tag and Offset only supports .inc and .mac routines.");
1112
return;
1213
}
1314
const document = vscode.window.activeTextEditor?.document;

0 commit comments

Comments
 (0)