sublime text snippets

Sublime Editor includes testing modules for various programming languages. This helps in unit testing of files and scripts and helps developers to analyze bugs, errors and issues, if any.

Sublime Text editor includes 3 modules which are necessary for testing and deployment of JavaScript. This chapter discusses them in detail.


JsFormat is a JavaScript plugin used for formatting the script lines which eases the unit testing process. Behind the scenes, it uses JS beautifier ( to format the full JS or portions of JS files. JSFormat can be installed using the Install Package option of Sublime editor.

JsFormat Install Package


JsFormat offers the following features to the script −

  • Eases JS and JSON file formatting.
  • Offers full text formatting and selected formatting.
  • Provides customizable settings for formatting options.


JSHint is a community driven tool used for analyzing the mistakes through hints. This helps to detect errors and potential problems. JSHint is an open source package, simple and easy to understand. You can install JSHine in Sublime Text editor through Install Package mode.

To implement JSHint plugin in Sublime Text Editor, you can use the shortcut Alt+J on Windows and Cmd+j on OSX systems.

JSHint Install Package


This script is used to highlight the syntax of JS file and its associated meaning. It includes a feature of syntax highlight with various modules, arrow functions, classes and generators.


You can perform syntax check on a file using the syntax list as shown in the screenshot below −

Screenshot Syntax List

Table of Contents
1.sublime text tutorial

2.sublime text introduction

3.sublime text installation

4.sublime text data directory

5.sublime text creating first document

6.sublime text editing first text document

7.sublime text patterns of code editing

8.sublime text sublime linter

9.sublime text shortcuts

10.sublime text snippets

11.sublime text macros

12.sublime text key bindings

13.sublime text column selection

14.sublime text indentation

15.sublime text base settings

16.sublime text theme management

17.sublime text understanding vintage mode

18.sublime text vintage commands

19.sublime text testing javascript

20.sublime text testing python code

21.sublime text spell check

22.sublime text packages

23.sublime text menus

24.sublime text sub menus of font

25.sublime text developing plugin

26.sublime text command palette

27.sublime text debugging php application

28.sublime text debugging javascript application

29.sublime text batch processing

30.sublime text distraction free mode

31.sublime text sublimecodeintel plugin

32.sublime text quick guide

33.sublime text useful resources

34.discuss sublime text

Leave a Reply

Your email address will not be published. Required fields are marked *