quarto-dev / quarto-dev/quarto
VS Code feature request: Inline plots that respect chunk dimension options
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
In RStudio, chunks that generate plots follow the dimensions specified in the chunk options (currently only with in-chunk options, but eventually hopefully also with YAML-style chunk options too)
In VS Code, images do not appear inline and instead either show up in a separate panel (if {httpgd} is installed), or in a separate window:
This is also the case when using the visual editor mode:
It would be helpful for figuring out figure dimensions for documents if plots could appear using the specified chunk options. But that also might just be a limitation of VS Code and/or radian and/or {httpgd} and/or something else.
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
Start by tracing how VS Code and visual editor sessions display R plots, comparing the current separate-panel or separate-window behavior with RStudio's chunk dimensions. Check the interaction among radian, httpgd, and chunk options, then verify that plots appear inline at the specified dimensions in both regular and visual editor modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- data-visualization, developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100