posit-dev / posit-dev/positron
Variables View: Provide UI for evaluating Promises
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
R has objects called "promises", which are effectively objects which are evaluated only on first use. In RStudio, we display them like so:
We also allow users to click on a promise to "force" it, and replace it with the underlying evaluated value. We may want to consider a similar feature for Positron.
Contributor guide
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 reviewing the Variables View and the RStudio behavior shown in the issue. Determine how Positron represents R promises and define the interaction for forcing one; done when a promise can be evaluated from the Variables View and its resulting value is displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100