"Turn" 3 Essential Sublime Text Plugins for Node & JavaScript Developers

Source: Internet
Author: User
Tags sublime text



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


    1. JavaScript formatting
    2. JSON formatting
    3. Full file formatting
    4. Selected text formatting
    5. Customizable settings for formatting options
    6. 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


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.