uiwjs / uiwjs/react-codemirror
[ Indentation ]: Auto indent after for/while loops
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
after a for or while loop the indentation is acting weird, for the curly braces it is automatically indenting which I don't want, Been struggling with this issue for a month now not been able to find a proper fix for it.
https://github.com/uiwjs/react-codemirror/assets/59951258/f9d2ba5c-7502-4bf0-8314-30cc4904d5dd
Contributor guide
No contributing guide indexed for this repository
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 reproduction and inspect the repository's React and CodeMirror integration to identify where indentation behavior is configured. Reproduce the issue with a for or while loop, then verify that brace indentation matches the expected behavior without affecting other editor indentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100