Hi all,
Here is a plugin I just created: cleanjs
Get it from here: github.com/captainbrosset/cleanjs (with package control)
I was working recently on cleanjs, a python tool that performs code style reviews on javascript code.
cleanjs is very much code quality oriented. Indeed, it checks for variables and functions size and naming, complexity, number of lines of code, formatting, comments, syntax, etc … There are still many things I want to review, but it’s a start
The tool was originally designed to be run from the command line using python, and since about a week also online at cleanjscode.appspot.com
Since I just discovered Sublime Text 2 (AMAZING by the way), I thought I would write a plugin for cleanjs as well.
After install, press ctrl+shift+c to start the review of any currently opened JS file.
This will open a panel with the list of info, warning and error messages, as well as highlight the corresponding lines in the code.
By the way, I wasn’t able to find an API that allowed me to add tooltips to the regions and/or info bubbles in the line number gutter. This would be great!
Thanks for Sublime and the plugin API, and tell me what you think!