Home

Awesome

This version of the extension was tested with Brackets Sprint 20.

Brackets Continuous Compilation Extension

A screenshot of Brackets with this extension showing JSlint errors inline in the code.

This is an extension for Adobe Brackets to improve on the built-in JSLint-check. The built-in check only runs when the file is saved and only displays a list of error messages at the bottom of the editor. This extension improves on this in the following ways:

This is still very much a beta version. I've used it successfully in developing the extension itself and think it's ready to be tested by others.

However, I've not tested it on huge files and although I already worked on the performance a bit, it might be a bit slow sometimes. If you notice it being slow and have an idea how to fix it, tell me or submit a pull-request.

So far, I have only tested it (and limited the extension to only check) Javascript files. It does

It also crashes sometimes, usually this does not affect brackets, but there may be no highlights anymore or clicking on the line gutter does not display the error messages. In these cases, just reload brackets (Ctrl/Cmd-R) and everything should work again. If you notice why that is please tell me or fix it and submit a pull request. ;-)

If you have any questions or feature requests or found bugs contact me or create an issue.

How to install the extension

Make sure that you initialised and updated all the submodules of this repository before trying the extension. The JSLint part is in a submodule and it won't work without that.

Just put the folder complete folder of this repository in Brackets' extension folder (you can find it via the Brackets menu "Help" -> "Show Extensions Folder"). In there put it in the "user" folder of the extensions folder. You may also put it in a folder called "dev" if you like. You do not need to move any of the non-Javascript files there. But it's easier just to copy the whole thing.

You can open the code in the ".example code" folder to see a variety of errors reported by this extension. Or just start writing your own code or open your own project to see it display errors and warnings. ;-)

Contribute

Feel free to fork the repository and work on some of the issues that are already there or add something yourself.