In this section we will learn to install and use plugins
Plug-ins are a very important part of atom, and many functions are in the form of plug-ins. For example, the directory tree and settings mentioned in the previous article are implemented by default installed plugins.
To view installed plugins
Open the Settings window ( Cmd+,
), and then switch to the "Packages" tab to see the list of installed plugins
We can see that atom has installed more than 70 plugins by default, and Atom provides a variety of very useful features and functions through these plugins.
You can also see all installed themes in the "Themes" tab of the Setup window (the theme is also a plugin)
Installing plugins
Switch to the "Install" tab in the Settings window
Enter the name of the plugin in the text box prompting for "Search packages"
Click "Packages" or "Themes" to find the plugin or theme that installed Atom
Plugin settings
When the plugin is successfully installed, it will be displayed in the "Packages" tab mentioned above.
You can search for installed plugins by entering the name of the plugin in the "Filter Packages by name" text box on the "Packages" tab.
If the plugin supports manual settings, there will be a button named "Settings" in the list item in which it is located.
Theme Plugins
The topic mentioned above is actually a plugin, you can also install the theme in the "Install" tab page
Once the installation is complete, you can use this topic using the methods mentioned in the previous article.
is displayed using the "Unity UI" theme and "Monokai" highlighting
To install the management plug-in from the command line
After you install Atom, you can apm
install the management plug-in by using commands at the command line
Here's how to use it:
* Show Use Help
# 显示apm命令的使用帮助# 通过这个命令可以获得apm提供的所有子命令apm help# 显示apm命令的install子命令的使用帮助apm help instal
Search Plugin
# 搜索插件名包含coffee的插件apm search coffee
return Result:
Search Results for ' coffee ' (29) ├──scallahan-coffee-syntax A Coffee inspired theme from the guys over at S.callahan (d Ownloads, 0 stars) ├──coffee-paste copy/paste As:js? Coffee/coffee? Js (372 downloads, 3 stars) ├──atom-coffee-repl coffee repl for Atom Editor (642 downloads, 2 stars) ├──scoffee-syntax A C Offee inspired Theme from the guys over at S.callahan (0 stars) downloads Code ├──coffee-navigator Panel fo R Coffee Script (2589 downloads, stars) ├──coffee-autocompile Auto compile coffee-script. (1619 downloads, 3 stars) ├──atom-compile-coffee this Atom.io package compiles. coffee files on save to. js Files. (Myjavascript.coffee-Myjavascript.js) (1666 downloads, 6 stars) ├──coffee-sass-workflow auto-compile onSave of. Coffee and. scss Files (OSX maybe Unix and Linux too) (146 downloads, 2 stars) ├──coffee-links a code-links plugin that parses coffeescript. (254 downloads, 6 stars) ├──make-coffee Create coffeescript version of Javascript files in TREE view (263 downloads, 1 star) ├──coffee-porter Convert your JS to coffescript quickly and flexibly. (325 downloads, 2 stars) ├──coffee-refactor refactoring support for Coffeescript (519 downloads, 3 stars) ├──coffee-compil E-Preview, compile and/or save coffeescript in editor to Javascript (16173 downloads, stars) ├──iced-coffee-compiler Qu Ickly compile Icedcoffeescript code in the editor to JavaScript (downloads, 1 star) ├──pen-paper-coffee-syntax A syntax Theme specifically for writing papers in Markdown. Featuring a paper like color scheme and increased font-size for headings (10210 downloads, stars) ├──coffeecompile Auto Compile coffee to JS on save. (378 downloads, 1 star) ├──coffeescript-build build the current coffee script file. (1146 downloads, 5 stars) ├──language-typed-coffee-script Typedcoffeescript language support in Atom (290 downloads, 0 STA RS) ├──language-coffee-script Coffeescript language support in Atom (158909 downloads, stars) ├──linter-coffee-variablEs Lint coffeescript for undefined and unused variables (213 downloads, 1 star) ├──language-iced-coffee-script Icedcoffees Cript language Support in Atom (361 downloads, 2 stars) ├──language-coffee-script-on-ice Icedcoffeescript language Support In Atom (downloads, 0 stars) ├──language-coffee-script-angular Coffeescript language support in atom for angular Devel Opers (2138 downloads, 7 stars) ├──linter-coffeescript Lint Coffeescript on the fly, using coffee (3391 downloads, star s) ├──language-iced-coffeescript iced coffeescript for Atom (158 downloads, 1 star) ├──language-coffeescript-html CoffeeS Cript language support with HTML in Atom (293 downloads, 1 star) ├──js2coffee Convert selected lines or an entire file int o Coffeescript. (1999 downloads, stars) ├──coffeefilter Quick and Easy Coffeescript compilation previews (134 downloads, 1 star) └──ato M-js2coffee A Js2coffee plugin for Atom editor (1064 downloads, 0 stars) use "APM install" to install them or visit/HTTP/ atom.io/pAckages to read more about them.
Show plug-in details
# 显示git-grep插件的详细信息apm view git-grep
return Result:
git-grep├── 0.9.0├── git://github.com/mizchi/atom-git-grep├── `git grep` in atom editor├── 3326 downloads└── 18 starsRun `apm install git-grep` to install this package.
Atom Editor Getting Started to Master (ii) installation and management of plugins