quarto-dev / quarto-dev/quarto
Hide terminal panel on Preview (VS Code)
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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