今天介绍一下atom的插件,工欲善其事,必先利其器。有时候插件可以让你事半功倍。
插件的安装步骤:File->Settings->Install 就可以搜索了
我们从三个特性讲,例举常见的插件们
必要性
1. Linter
简介
作为必备的代码校验工具
Linter is a base linter provider for the hackable Atom Editor. Additionally, you need to install a specific linter for your language. It provides a top-level API to its consumer so that they can visualize errors and other types of messages with ease.
2.emmet
简介
Emmet把片段这个概念提高到了一个新的层次:你可以设置CSS形式的能够动态被解析的表达式,然后根据你所输入的缩写来得到相应的内容。Emmet是很成熟的并且非常适用于编写HTML/XML 和 CSS 代码的前端开发人员,但也可以用于编程语言。
3.git-plus
简介
git 工具
vim-fugitive like package for atom. make commits and other git things without the terminal
4.atom.beautify
简介
格式化代码,ctrl-alt-b
,让你的代码看上去更整洁
5.atom-live-server
html实时预览
快捷键 ctrl-alt-l ctrl-alt-3/4/5/6
视端口决定
方便性
6.autocomplete-paths
atom原生缺少像brackets一样可以在html/css文件中找到资源文件/填写路径的视觉提示,需要装插件
7.Minimap
变身sublime,旁边拥有缩略块
8.Expose
分屏时tars快速切换
9.javascrpit-snippets
快速缩写
酷炫性
10.activate-power-mode
打字如飞,思维停不下来!