New review that tries to check if a file has more than one responsibilities. This reviewer tries to report useless stuff like: New reviewer that checks for similarities between comment lines that immediately precede code lines. New reviewer that checks for variable length based on their “scope” (if a variable is used only on 2 consecutive lines, it might be OK for it to have a very short name (var i type of things)) Thanks for Sublime and the plugin API, and tell me what you think! This will open a panel with the list of info, warning and error messages, as well as highlight the corresponding lines in the code.īy 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. Since I just discovered Sublime Text 2 (AMAZING by the way), I thought I would write a plugin for cleanjs as well.Īfter install, press ctrl+shift+c to start the review of any currently opened JS file. The tool was originally designed to be run from the command line using python, and since about a week also online at 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 I was working recently on cleanjs, a python tool that performs code style reviews on javascript code.Ĭleanjs is very much code quality oriented. 6.Get it from here: /captainbrosset/cleanjs (with package control) Swap your code with the next team, review and critique their work. Practical – Using the last code you used (from the other team) add any comments you feel are necessary. Practical – Using the last code you used (from the other team) redesign the code to use better format and function style. Practical – using the code you were given previously, create (and code) good naming standards for all applicable areas of the code. Practical – given an existing piece of JavaScript code, work out what it does 3. Introduction to Professional code development standards
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |