Translated from: http://scottksmith.com/blog/2014/09/29/3-essential-sublime-text-plugins-for-node-and-javascript-developers/
Check out these 3 great and essential Sublime Text plugins every JavaScript and Node developer should know on and use.
Jsformat
Https://github.com/jdc0589/JsFormat
Jsformat is a JavaScript formatting plugin. Behind The scenes, it uses the command line formatter from jsbeautifier.org to format full or portions of JavaScript and J SON files.
Features
- JavaScript formatting
- JSON formatting
- Full file formatting
- Selected text formatting
- Customizable settings for formatting options
- Customize per project with. JSBEAUTIFYRC settings file
Usage
Either oncmd+alt+fOS X or onctrl+alt+flinux/windows
Jshint
Https://github.com/uipoet/sublime-jshint
"Jshint is a community-driven tool to detect errors and potential problems in JavaScript code and to enforce your team ' s C oding conventions. It's very flexible so can easily adjust it to your particular coding guidelines and the environment you expect your C Ode to execute in. Jshint is open source and would always stay the this. "-Jshint
Usage
ctrl+jOn OS X or onalt+jlinux/windows
If you would like to having Jshint run anytime you save a JavaScript file (highly suggest this), you'll need to install th E sublimeonsavebuild package.
Javascriptnext
Https://github.com/Benvie/JavaScriptNext.tmLanguage
This plugin was a better syntax highlighter for JavaScript. Does it improve syntax highlighting for current ES5, it also adds syntax highlighting for new ES6 syntax such as Modules, succinct methods, arrow functions, classes, and generators.
Here is the original JavaScript syntax highlighter:
Here is the new JavaScript syntax highlighter:
Usage
You can either set individual JavaScript files to use this syntax highlighter by changing it in the "View-Syntax" Me Nu or you can change it for all JavaScript files in the "View-Syntax, Open all with current extension as".
Wrap up
These 3 plugins has been very beneficial to me as a JavaScript and Node developer. If you know of other useful plugins, feel free to share them in the comments.
If you found this article or others useful is sure to the My RSS feed or subscribe me on Twitter. Also, if there is certain topics you would like me-to-write on, feel-to-leave comments and let me know.
"Turn" 3 Essential Sublime Text Plugins for Node & JavaScript Developers