I downloaded the latest version of Brackets today (0.42 at this moment), and read through the documentation when I found this method from the editor Editor.getCloseBrackets that reads:
Gets whether the specified or current file uses auto close brackets
So basically I discovered that Brackets does what this extension intended to do out of the box now, to activate it, open the preference file Debug -> Open Preferences File and add this line:
"closeBrackets": true
And Cmd+R to reload the editor, now Brackets will close all your brackets (no pun intended) and ultimately doing what this extension was supposed to do way better than it currently does it.
So without further a due I declare this extension deprecated and I advise you use the native method.
Thank you all for your interest.
An extension for Brackets for automatic closure of brackets and curly braces on enter key.
- Select Brackets > File > Extension Manager
- Search for this extension.
- Click on the Install button.
When you write { , [ or ( and press enter, closes the tag and leaves the cursor in the middle line with correct indentation.
Tested on Brackets Sprint 39, Mac OS X.
