Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 (real-time errors, code refactoring, etc.).

License

NotificationsYou must be signed in to change notification settings

pichillilorenzo/JavaScriptEnhancements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimum Sublime Build VersionGitHub starsGitterBuild Statuscodecovlicense

Donate to this project using PaypalDonate to this project using PatreonDonate to this project using Open CollectiveBackers on Open CollectiveSponsors on Open Collective

JavaScript Enhancements is a plugin forSublime Text 3.

A little introduction to this plugin could be found in this css-tricks.com article:Turn Sublime Text 3 into a JavaScript IDE

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

This is inBETA version fortesting.

It offers betterJavaScript autocomplete and also a lot of features about creating, developing and managingJavaScript projects, such as:

  • Cordova projects (run cordova emulate, build, compile, serve, etc. directly from Sublime Text!)
  • Ionic v1 and v2 (it includes also v3) projects (same as Cordova projects!)
  • Angular v1 and v2 (it includes also v4 and v5) projects
  • Vue projects (only about the creation at this moment, see thewiki)
  • React projects (only about the creation at this moment)
  • React Native projects (only about the creation at this moment. I will add alsoNativeScript support)
  • Express projects (only about the creation at this moment)
  • Yeoman generators
  • Local bookmarks project
  • JavaScript real-time errors
  • Code Refactoring
  • etc.

You could use it also inexisting projects (see theWiki)!

It turns Sublime Text into aJavaScript IDE like!

This project is based on my other Sublime Text pluginJavaScript Completions

Note:If you want use this plugin, you may wantuninstall/disable theJavaScript Completions plugin, if installed.

OS SUPPORTED

  • Linux (64-bit)
  • Mac OS X
  • Windows (64-bit): released without the use ofTerminalView plugin. For each feature (like also creating a project) will be used thecmd.exe shell (so during the creation of a projectdon't close it until it finishes!). Unfortunately the TerminalView plugin supports onlyLinux-based OS 😞 . Seethis workaround using WSL (Windows Subsystem for Linux).

Dependencies

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

  • Sublime Text 3 (build3124 or newer)
  • Node.js (6 or newer) andnpm (nodejs.org ornvm)
  • TerminalView (only forLinux andMac OS X) sublime text plugin (TerminalView)

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

Flow Requirements

It will useFlow for type checking and auto-completions.

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

You can find more information about Flow onflow.org

Installation

WithPackage Control:

  • Run “Package Control: Install Package” command or click to thePreferences > Package Control menu item, find and installJavaScript Enhancements plugin.

Manually:

  1. Downloadlatest release (DON'T CLONE THE REPOSITORY!) and unzip it into yourPackages folder (go toPreferences > Browse Packages... menu item to open this folder)
  2. Rename the folder withJavaScript Enhancements name (THIS STEP IS IMPORTANT).

If all is going in the right way, you will seeJavaScript Enhancements - installing npm dependencies... and, after a while,JavaScript Enhancements - npm dependencies installed correctly. messages in the status bar of Sublime Text 3. Now the plugin is ready!

Fixing node.js and npm custom path

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

If you don't know the path of them, usewhich node/which npm (for Linux-based OS) orwhere node.exe/where npm (for Windows OS) to get it.

If this doesn't work too, then you could try to add the custom path that contains binaries of node.js and npm in thePATH key-value on the same JavaScript Enhancements settings file. This variable will beappended to the$PATH environment variable, so you could use the same syntax in it. After this you need to restart Sublime Text. Example of a global setting forLinux that usesnvm:

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

ForLinux-based OSREMEMBER to add: (forWindows OSREMEMBER to add;) at the begin of thePATH 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 theWiki for complete examples and the otherfeatures.

Support

Issues/Questions

If you have any problems, create anissue (protip: do a quick search first to see if someone else didn't ask the same question before!). For small questions, you can use Gitter.

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

Feature request/enhancement

For feature requests/enhancement, create an issue or useGitter.

Financial contributions

If this project helps you reduce time to develop and also you like it, please support it with a donation onPatreon,Open Collective or usingPayPal 😄👍. Thanks!

paypalBecome a Patronopencollective

Credits

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Backers

Thank you to all our backers! 🙏 [Become a backer]

Contributors

This project exists thanks to all the people who contribute. [Contribute].

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 (real-time errors, code refactoring, etc.).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors7

Languages


[8]ページ先頭

©2009-2025 Movatter.jp