posit-dev / posit-dev/positron
R: newline indentation is lost inside curly brackets
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
Positron Version:
Positron Version: 2024.07.0 (Universal) build 67
Code - OSS Version: 1.91.0
Commit: 58e22e191273c6fcb403c458ddb3088b0b80dcd0
Date: 2024-07-18T04:44:17.582Z
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.5.0
Steps to reproduce the issue:
- create multiple new lines in curly brackets
- press up
https://github.com/user-attachments/assets/83e3845a-0deb-41b2-8705-914ef8709e7c
What did you expect to happen?
For the indentation to remain in effect
Were there any error messages in the Output panel or Developer Tools console?
Nope
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
Reproduce the issue in Positron 2024.07.0 using the reported steps: create multiple new lines inside curly brackets and press Up. Start by tracing the editor behavior responsible for indentation when moving upward, then verify that indentation remains in effect and that no regression appears in the reproduction case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100