Installing the Atom Plugin
They are mainly:
ATOM-TERNJS for automatic completion of Javascript and node. js
Script to run a program with one click
Auto-complete plug-in
The Javascript auto-complement on Atom relies heavily on the Atom-ternjs plugin, seemingly without any other better choice. (with Autocomplete-plus plug-ins, Atom is already installed by default.) )
The installation method is no different from installing other plug-ins, there are three main options:
Graphical interface.
Search for Atom-ternjs and install in Atom's Settings > install.
This method needs scientific internet in China.
Command line.
APM Install Atom-ternjs
This method also needs scientific internet in China.
Local installation.
CD ~/.atom/packages
git clone [email protected]:tststs/atom-ternjs.git
CD ATOM-TERNJS
NPM Install
Https://github.com/tststs/atom-ternjs
http://mazhuang.org/2016/04/18/develop-nodejs-with-atom/#一键运行插件
Configuring the node. JS development Environment-using Atom