Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R: Autocompletion appends parentheses when there are already parentheses #4441

Open
FinYang opened this issue Aug 22, 2024 · 2 comments
Open
Assignees
Labels
area: completions Issues related to Completions enhancement New feature or request lang: r support

Comments

@FinYang
Copy link

FinYang commented Aug 22, 2024

Currently in Positron, when typing function in front of parentheses, accepting autocompletion will add another extra parentheses.

Kapture 2024-08-22 at 23 12 35

This isn't consistent with RStudio, where no additional parentheses are added.

Kapture 2024-08-22 at 23 14 43

This is an issue for me because I am used to sometimes type the parentheses first then the function name, for example when I want to change the function, or add another layer outside without using pipe.

Version details

Positron Version: 2024.08.0 (Universal) build 31
Code - OSS Version: 1.91.0
Commit: 7ee0596
Date: 2024-08-10T14:49:10.180Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.6.0

@lionel- lionel- added lang: r area: completions Issues related to Completions labels Aug 22, 2024
@lionel-
Copy link
Contributor

lionel- commented Aug 22, 2024

I was sure we already had an issue for this, but I can't find it! Let's track this here then (it's been on our minds too).

@juliasilge juliasilge added support enhancement New feature or request labels Aug 22, 2024
@juliasilge juliasilge added this to the Release Candidate milestone Aug 26, 2024
@juliasilge
Copy link
Contributor

Related to #2338 in that it is about adding parentheses when we don't want any.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: completions Issues related to Completions enhancement New feature or request lang: r support
Projects
None yet
Development

No branches or pull requests

4 participants