quarto-dev / quarto-dev/quarto

VS Code Extension: Preview steals the focus from Terminal and drops cursor in Editor

Open
#361 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

I've noticed if I have Quarto preview running, it can steal the pane focus away from me. E.g. in this clip, I'm in the Terminal doing Git operations, and at some point focus is stolen from the Terminal and switches to the editor pane.

https://github.com/quarto-dev/quarto/assets/25964/2012fef8-1dd1-4b0c-9816-86ae6f4dcc7f

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem with Quarto preview running while using the VS Code terminal and editor, as shown in the linked clip. No file or test is named, so start by locating the VS Code extension's preview and focus-handling entry points. Done means preview updates no longer move focus away from the user's active pane.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.