"Format" button to correct indentation
- Dominant language
- JavaScript
- Stars
- 776
- Forks
- 180
- PR merge metrics
- No merged PRs in 30d
Description
I was answering some programming questions on KA and some of the students have really poor formatting. It would be nice if there was a button they could hit to correct the formatting. Here are some examples:


Contributor guide
No contributing guide indexed for this repository
Research direction
The issue provides screenshots but names no files, tests, or entry points. Start by locating the editor UI and any existing indentation or formatting logic, then determine how a button would invoke it. Done means a user can trigger formatting and see poorly indented code corrected consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100