quarto-dev / quarto-dev/quarto

Hide terminal panel on Preview (VS Code)

Open
#768 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When using Preview in VS Code, the bottom panel with a terminal view always opens automatically. I understand that this runs the required commands to produce the preview, but it takes up a lot of vertical space, and I basically always close it immediately. Would it be possible to hide the bottom panel automatically and just show the preview? This should be a relatively quick fix, i.e. add

await vscode.commands.executeCommand('workbench.action.terminal.hide');

right after creating the terminal. Maybe there's an even better way (that does not show the panel in the first place), but I'm not familiar with TS.

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

Open apps/vscode/src/providers/preview/preview.ts around line 467 and inspect where the terminal is created for Preview. Confirm the terminal panel is hidden after Preview starts while the preview remains available; the issue suggests checking the VS Code terminal commands there.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.