rescript-lang / rescript-lang/rescript-vscode
Editor jumps 200 lines below when formatting on save
Open
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
I get the behavior with beta.5 and 1.64.0
Any change in https://github.com/DZakh/sury Sury.res which requires a formatting update.
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 behavior in the ReScript VSCode plugin using beta.5 or 1.64.0, with formatting on save enabled and a change in Sury.res from the linked Sury repository. Start by tracing the formatting-on-save flow; done means formatting no longer moves the editor roughly 200 lines below the changed code.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100