Automatically Add Closing Parentheses, Braces, Brackets
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 14.6k
- Forks
- 734
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 4
Description
I can't seem to find this in the list of issues/feature requests. If there's an existing issue/feature for this, please close.
I'd like to see auto closing parentheses, braces and brackets added. It's not the biggest problem in the world to have to manually type the corresponding closing character manually (throwback to the halcyon days), but it's a nice to have to save cursor positioning work.
For example, if I type
`(`
The corresponding closing character should be added and the cursor positioned between them:
`(|)`
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
The issue names no files, tests, or entry points. Start by locating the terminal editor's input-handling path and existing tests for character insertion, then verify that typing each opening parenthesis, brace, or bracket inserts its matching closer and places the cursor between them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100