Skip to content

JavaScript Enhancements is a plugin for Sublime Text 3. It offers not only a smart javascript autocomplete but also a lot of features about creating, developing and managing javascript projects.

License

Notifications You must be signed in to change notification settings

xiangyuV/JavaScriptEnhancements

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

209 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Enhancements

JavaScript Enhancements is a plugin for Sublime Text 3.

This plugin uses Flow (javascript static type checker from Facebook) under the hood.

This is in BETA version for testing.

It offers better javascript autocomplete and also a lot of features about creating, developing and managing javascript projects, such as:

  • Cordova projects (run cordova emulate, build, compile, serve, etc. directly from Sublime Text!)
  • Ionic v1 and v2 projects (same as Cordova projects!)
  • Angular v1 and v2 projects
  • React projects
  • Express projects
  • Yeoman generators
  • Local bookmarks project
  • JavaScript real-time errors
  • etc.

You could use it also in existing projects (see the Wiki)!

It turns Sublime Text into a JavaScript IDE like!

This project is based on my other Sublime Text plugin JavaScript Completions

Note: If you want use this plugin, you may want uninstall/disable the JavaScript Completions plugin, if installed.

OS supported now

  • Linux (64-bit)
  • Mac OS X

Dependencies

In order to work properly, this plugin has some dependencies:

Not required, but useful for typescript files (Flow wont work on this type of files):

Flow Requirements

It will use Flow for type checking and auto-completions.

  • Mac OS X
  • Linux (64-bit)
  • Windows (64-bit)

You can find more information about Flow on flow.org

Installation

With Package Control (NOT PUBLISHED YET):

  • Run “Package Control: Install Package” command or click to the Preferences > Package Control menu item, find and install JavaScript Enhancements plugin.

Manually:

  1. Download latest release and unzip it into your Packages folder (go to Preferences > Browse Packages... menu item to open this folder)
  2. Rename the folder with JavaScript Enhancements name (THIS STEP IS IMPORTANT).

Fixing node.js and npm custom path

If the plugin gives to you message errors like Error during installation: "node.js" seems not installed on your system... but instead you have installed node.js and npm (for example using nvm), then you could try to set your custom path in the Global settings of the plugin and then restart Sublime Text.

If this not works too, then you could try to add the custom path that contains binaries of node.js and npm in the PATH key-value on the same JavaScript Enhancements settings file. This variable will be appended to the $PATH environment variable, so you could use the same syntax in it. After that you need to restart Sublime Text. Example of a global setting for Linux that uses nvm:

{
  // ...

  "PATH": ":/home/lorenzo/.nvm/versions/node/v9.2.0/bin",
  "node_js_custom_path": "node",
  "npm_custom_path": "npm",

  // ...
}

REMEMBER to add : at the begin of the PATH value!! Like I already said, it uses the same syntax for the $PATH environment variable.

Usage

See the Wiki.

Quick Overview

Auto-completions

Errors

Projects with terminal (TerminalView)

See the Wiki for complete examples and the other features.

Support

Email me for any questions or doubts about this project on: pichillilorenzo@gmail.com

Issues

For any problems, open an issue with the Sublime Text console logs please!

Feature request/enhancement

For feature requests or them enhancement, please open an issue with the corresponding label.

Donation

If this project help you reduce time to develop and also you like it, please support it with a donation 😄👍. Thanks!

paypal opencollective

License

MIT License

About

JavaScript Enhancements is a plugin for Sublime Text 3. It offers not only a smart javascript autocomplete but also a lot of features about creating, developing and managing javascript projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.7%
  • Other 1.3%