quarto-dev / quarto-dev/quarto
params not loaded in global environment in vscode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
👋 Thank you so much for quarto. Continues to be a joy to use in both the RStudio IDE and vscode. I just wanted to report a minor pain point.
Using the vscode quarto version of 1.55.0, I am not able to access params interactively in vscode while I am in RStudio. Here is the quarto code that can reproduce the problem:
---
title: "problem params"
format: html
params:
my_cool_param: 42
---
```{r}
params$my_cool_param
```
In the RStudio IDE I can click Run Current Chunk and params is automatically loaded into my environment. In vscode, that is not the case. This is very handy for interactive work.
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 with the supplied Quarto document and use VS Code's Run Current Chunk action, then compare its behavior with the RStudio workflow described in the issue. The work is done when the YAML-defined params object is available interactively in VS Code as it is in RStudio.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, vscode
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100