Add command-line options to initialize settings on statusbar
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 14.6k
- Forks
- 734
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 4
Description
First: Thanks for this project! It's great to have an easy-to-use, single executable terminal editor in Windows consoles. Very nice!
My suggestion for enhancement would be to have command-line options to initialize the settings currently available on the statusbar.
Examples:
`--lineterminator LF` — use LF instead of CRLF line terminators
`--encoding` _encodingname_ — specify file encoding
`--tabs` — use tabs instead of spaces
`--tabwidth` _width_ — if `--tabs` active, display width of tabs; if `--tabs` inactive, number of spaces to insert with each press of Tab key
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
Start by locating the command-line argument handling and the statusbar settings entry points in the Rust editor. Trace how line terminators, encoding, tabs, and tab width are initialized, then determine how each proposed option should map to those settings. Done means the options are accepted and each initializes the corresponding setting when the editor starts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100