F Brackets
Disclaimer: the F stands for fix, fight, flexible, and others... except that F-word.
Features
💫 Magical Brackets 💫
- typing
] ) } and auto activate this mode - can be disabled in settings
- quickly move brackets with:
Cmd+▲ Cmd+▼ move by line
Cmd+◀ Cmd+▶ by token
Cmd+Alt+◀ Cmd+Alt+▶ by character (in case brackets sneak too fast)
- tips:
- use
Cmd+G to toggle "magical mode" on any brackets
🔥 Complete Brackets 🔥
- at end of line, use
Cmd+▶ to complete brackets
- works on new lines too
Extension Settings
Known Issues
The bracket matching algorithm is not perfect, so it might not work in some cases (eg. some JSX and HTML case)
The completing algorithm is based on indent, I hope you have a decent code formatting.
The parser is language-irrelative, so it doesn't complete , or ; for you.
Release Notes
0.1.0
Initial release of fix-brackets
0.2.2
Improve algorithm about bracket matching
- Support grouping
<tag />
- Support fuzzing match for malformed bracket pairs
- Improve behaviors on line breaks.
0.2.3
Extended scan range, including brackets in comments and string literals
- Move brackets in string and comment
- Complete block comments'
*/ with Cmd+▶
- Complete brackets in string
- Use
Alt+◀ and Alt+▶ to move by one character. (in case things goes weird)
0.2.5
Improve default settings
- Use
Cmd+Alt+◀ and Cmd+Alt+▶ to move by character, cause I find Alt+▶ is more meaningful for moving caret.
| |