burkeholland / burkeholland/llm-api-tutor-example

Respect user selection

Open
#6 0 comments 0 reactions 1 assignee Claimed by @burkeholland View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Looking at the code now, the user selection is not respected.
https://github.com/burkeholland/llm-api-tutor-example/blob/master/src/extension.ts#L29

Ideally you would say something like:

```
const editor = vscode.window.activeTextEditor;
if (editor) {
const selection = editor.selection;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.