最强大的代码编辑器(IDE)——Atom。Atom介绍安装与插件配置(一)
最炫酷的代碼編輯器(IDE)--Atom
最帥,特效炫酷的IDE,開源!先上幾張圖,感興趣你再往下看
介紹
Atom (原子) 是github專門為程序員推出的一個跨平臺文本編輯器.其實是一款(IDE)。
具有簡潔和直觀的圖形用戶界面,并有很多有趣的特點:支持CSS,HTML,JavaScript等網頁編程語言。它支持宏,自動完成分屏功能,集成了文件管理器。
2015年1月8日宣布開源。https://github.com/atom/atom
活躍至今。
由于網上介紹大多較陳舊,所以評價不是太高,現在已經變得越來越優秀。
舉例介紹其功能
強大的代碼補全功能:省
比如,如果我們輸入ife然后按tab,我會得到以下代碼: if (true) {} else {}或者簡單的輸入一個小寫的f然后按tab,它將給我創建一個匿名函數的基本框架:
function () {}還有等等..
支持用命令控制:(用過sublime的一定知道)
linux、sublime 的老用戶一定不喜歡在界面上拿著鼠標點來點去
可以定制自己喜歡的功能/主題/插件
舉幾個誘人的功能:- 頁內顯示結果:Run code and get results inline using Jupyter kernels like IPython, IJulia, and iTorch
- 自動輔助注釋:? 注釋時可以選中代碼塊,自動抓取其中的 param return
- 高亮當前行 : ? 快速尋找光標
- 高亮選中變量 :? 選中一個變量后,當前頁所有的同名變量全部高亮、
- 代碼中直接顏色拾取:前端必備
- and more...
更多優秀的插件這里有詳細的介紹:
開發神器Atom編輯器優秀插件推薦
安裝指導
一、安裝atom (源引于官網教程Install Atom)
“To install Atom on Linux, you can download a Debian package or RPM package either from themain Atom website or from theAtom project releases page. These packages do not currently have auto-update features, so when you would like to upgrade to a new release of Atom, you will have to repeat this installation process.”
-
Debian and Ubuntu (deb/apt)
To install Atom on Debian, Ubuntu, or related systems:
# Install Atom sudo dpkg -i atom-amd64.deb# Install Atom's dependencies if they are missing sudo apt-get -f install-
RedHat and CentOS (yum)
To install Atom on CentOS, Oracle Linux, RedHat Enterprise Linux, Scientific Linux or related systems that use the yum package manager:
sudo yum install -y atom.x86_64.rpm-
Fedora (dnf)
To install the latest release of Atom on Fedora or other systems that use the DNF package manager:
sudo dnf install -y atom.x86_64.rpm-
SUSE (zypp)
To install the latest release of Atom on openSUSE or other systems that use the Zypp package manager:
sudo zypper in -y atom.x86_64.rpm# atom???? // 試試你的IDE吧
二、安裝插件
例如我們安裝這款最炫酷的方法一:()
[ Packages ] => [ Setting View ] => [Install Packages ]
例如安裝activate-power-mode包如下。
方法二:sudo apm install<package name>
# apm?install?activate-power-mode Installing activate-power-mode to /root/.atom/packages ?
(如果報錯請看最后*1)
三、使用這款插件
重配置 Atom:??方法一 :Ctrl + Shift +F5
方法二 :Ctrl + Alt + P?? ,然后再輸入??window:Reload????????? 回車生效
開啟插件:
??? Ctrl + Alt + O
試試你的新插件吧!combo combo++
*插件僅僅是插件,用來輔助人們提高工作舒適度和工作效率的存在,不要迷失在花俏的插件海洋里。
[ *1 ]
報錯解決方法:(報錯)
Step1:去github下載zip或者clone源包。# git clone https://github.com/JoelBesada/activate-power-mode.git
Step2 : 移動 activate-power-mode/? 到 $home目錄中? ./atom/packages/
參考資料:
http://www.ituring.com.cn/article/72264
https://code.tutsplus.com/tutorials/check-out-atom-githubs-new-development-editor--net-37030
后生不才,恭聽指正。
總結
以上是生活随笔為你收集整理的最强大的代码编辑器(IDE)——Atom。Atom介绍安装与插件配置(一)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 梦幻西游网页版服务器更新,《梦幻西游》电
- 下一篇: java web中图形验证码的生成(英文