Simple enhancements for typing block comments in Brackets: when you press Enter, the next line is automatically prefixed with a properly indented "*
". So for example, instead of this:
/**
|
*/
You'll get this:
/**
* |
*/
It also closes the comment automatically when you press Enter, if needed. So when you press Enter here:
/**|
You'll get this:
/**
* |
*/
Supports any language that uses /* ... */
-style comments.
Reasonable Comments is an extension for Brackets, a new open-source code editor for the web.
To install extensions:
- Choose File > Extension Manager and select the Available tab
- Search for this extension
- Click Install!
MIT-licensed -- see main.js
for details.
Brackets Sprint 21 or newer (or Adobe Edge Code Preview 4 or newer).