- SublimeCodeIntel Plugin
- Distraction Free Mode
- Sublime Text – Batch Processing
- Debugging Javascript Application
- Debugging PHP Application
- Sublime Text – Command Palette
- Sublime Text – Developing Plugin
- Sublime Text – Sub Menus of Font
- Sublime Text – Menus
- Sublime Text – Packages
- Sublime Text – Spell Check
- Sublime Text – Testing Python Code
- Sublime Text – Testing Javascript
- Sublime Text – Vintage Commands
- Understanding Vintage Mode
- Sublime Text – Theme Management
- Sublime Text – Base Settings
- Sublime Text – Indentation
- Sublime Text – Column Selection
- Sublime Text – Key Bindings
- Sublime Text – Macros
- Sublime Text – Snippets
- Sublime Text – Shortcuts
- Sublime Text – Sublime Linter
- Patterns of Code Editing
- Editing First Text Document
- Creating First Document
- Sublime Text – Data Directory
- Sublime Text – Installation
- Sublime Text – Introduction
- Sublime Text - Home
Sublime Text Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Subpme Text - Testing Javascript
Subpme 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.
Subpme Text editor includes 3 modules which are necessary for testing and deployment of JavaScript. This chapter discusses them in detail.
JsFormat
JsFormat is a JavaScript plugin used for formatting the script pnes 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 Subpme editor.Features
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
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 Subpme Text editor through Install Package mode.
To implement JSHint plugin in Subpme Text Editor, you can use the shortcut Alt+J on Windows and Cmd+j on OSX systems.
JavaScriptNext
This script is used to highpght the syntax of JS file and its associated meaning. It includes a feature of syntax highpght with various modules, arrow functions, classes and generators.
You can perform syntax check on a file using the syntax pst as shown in the screenshot below −
Advertisements