burkeholland / burkeholland/llm-api-tutor-example
Respect user selection
Open
- 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.