Skip to content

Commit b05c849

Browse files
Copilotalexr00
andcommitted
Add comment explaining NotebookRange exclusion in getMarkdownLinkText
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 111449f commit b05c849

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/issues/issueFeatureRegistrar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,7 @@ ${options?.body ?? ''}\n
14451445
}
14461446

14471447
// If a specific range is provided (e.g., from a gutter click), use that
1448+
// Note: NotebookRange is excluded because getText() only accepts vscode.Range
14481449
if (range && !(range instanceof vscode.NotebookRange)) {
14491450
const text = vscode.window.activeTextEditor.document.getText(range);
14501451
if (text) {

0 commit comments

Comments
 (0)