posit-dev / posit-dev/positron
Support autocomplete for R across multiple lines
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
Discussed in https://github.com/posit-dev/positron/discussions/4333
See https://github.com/posit-dev/positron/discussions/4333#discussioncomment-10330240 in particular for the RStudio option to turn on for this
Originally posted by mattwarkentin August 13, 2024
Hi,
Is there a Positron setting to enable multiline autocompletions using tabs similar to in RStudio? I haven't found a way to enable this yet.
Here is the behavior in RStudio:
https://github.com/user-attachments/assets/3ede73b9-9524-45f2-9422-3f7533d994dd
Here is the current behavior in Positron (no completions offered):
https://github.com/user-attachments/assets/4b442cf5-a03a-4185-aa9d-350faafc1ca5
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 with the linked discussion and its referenced RStudio option, then compare the attached RStudio and Positron examples to understand the expected multiline behavior. Done means Positron offers autocomplete across multiple R lines in the same way, including the tab-based interaction described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100