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

Every new line in an R script automatically indents by one space #5258

Open
jack-davison opened this issue Nov 4, 2024 · 1 comment
Open
Labels
info needed Waiting on information lang: r

Comments

@jack-davison
Copy link

System details:

Positron and OS details:

Positron Version: 2024.11.0 (user setup) build 140
Code - OSS Version: 1.93.0
Commit: e0d844b
Date: 2024-10-31T14:22:13.808Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

Interpreter details:

R 4.4.3

Describe the issue:

Whenever I go to a new line in a .R file a space is automatically added.

I have tried to disable and re-enable extensions, but it's still happening.

Steps to reproduce the issue:

  1. Open R Script
  2. Add new line
  3. Note the addition of the indents.

Image

Expected or desired behavior:

I would imagine there would not be any indentation.

Were there any error messages in the UI, Output panel, or Developer Tools console?

N/A

@testlabauto
Copy link
Contributor

testlabauto commented Nov 4, 2024

Hi, thank you for using Positron! Unfortunately, we are not able to reproduce this issue locally so we are hoping you can provide some more diagnostic information.

Is it correct to assume that you tried to repro with all user installed extensions disabled (and it still repros)?

Could you perhaps capture your settings.json as a file and share it? Here is an image showing where the button is to go from the visual editor to the file view:

Image

If you want to try it, you can also cut out all your settings, save the json elsewhere, and retest with all default settings. Then you would be able to paste back in your settings from the saved location after the test.

@testlabauto testlabauto added info needed Waiting on information lang: r labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info needed Waiting on information lang: r
Projects
None yet
Development

No branches or pull requests

2 participants