A Sublime Text 2/3 Plugin which immediately highlights incorrect brackets.
- Total 23K
- Win 12K
- OS X 6K
- Linux 4K
|Mar 21||Mar 20||Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10||Mar 9||Mar 8||Mar 7||Mar 6||Mar 5||Mar 4||Mar 3||Mar 2||Mar 1||Feb 28||Feb 27||Feb 26||Feb 25||Feb 24||Feb 23||Feb 22||Feb 21||Feb 20||Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6||Feb 5||Feb 4|
A Sublime Text 2/3 Plugin which immediately highlights incorrect brackets. Balancing different kinds of brackets is a requirement which can be found in a broad set of programming languages. Nevertheless, Sublime Text does not highlight obviously wrong parenthesis. BracketGuard changes this.
A quick test: Can you tell me, whether the following code is valid?
I'm sure you can! You don't even have to know the language to see that the brackets are wrong. But how long did it take you to find the error? And how long did it take you to realize that there are two brackets wrong instead of only one?
With the help of BracketGuard you will spot syntactic bracket mistakes in a split second. Here is an example of how mistakes will be highlighted:
BracketGuard will highlight the first unexpected closing bracket and the corresponding opening bracket to which its counterpart is expected. After finding the first bracket error, BracketGuard will stop to check the rest of your code, because following mistakes cannot be determined due to the corrupt balancing.
The settings file includes two options:
file_length_threshold: Every file which has more characters than this threshold won't be checked automatically.
check_on_save: When set to true, the file will be (additionally) checked when saving the file.
Either use Package Control and search for
BracketGuard or clone this repository into the Sublime Text “Packages” directory.
MIT © Philipp Otto