atom-editor - riptutorial.com · 1 1: atom-editor 2 2 2 examples 6 atom 6 “”atompython 8...
TRANSCRIPT
atom-editor
#atom-
editor
1
1: atom-editor 2
2
2
Examples 6
Atom 6
“”AtomPython 8
1Python 8
2Atom 8
3Atom 8
4 8
2: 9
9
Examples 9
9
9
9
Atom 9
3: Atom 11
11
Examples 11
11
11
11
12
14
4: 15
15
Examples 15
WindowsAtom 15
15
15
MacAtom 15
15
Source 15
LinuxAtom 16
16
DebianUbuntu 16
RedHat EnterpriseCentOSOracle LinuxScientific Linux 16
FedoraDNF 16
SUSEZypp 16
Source 16
17
You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: atom-editor
It is an unofficial and free atom-editor ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official atom-editor.
The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.
Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to [email protected]
https://riptutorial.com/zh-CN/home 1
1: atom-editor
atom-editor。
。atom-editor。
1.12.8 201713
1.12.7 2016128
1.12.6 20161125
1.12.5 20161121
1.12.4 20161117
1.12.3 20161115
1.12.2 20161111
1.12.1 20161110
1.12.0 2016119
1.11.2 20161017
1.11.1 20161011
1.11.0 20161011
1.10.2 201697
1.10.1 201696
1.10.0
1.9.9 2016817
1.9.8 2016810
1.9.7 201688
1.9.6 201686
1.9.5 201685
1.9.4 201684
https://riptutorial.com/zh-CN/home 2
1.9.3 201684
1.9.2 201683
1.9.1 201682
1.9.0 2016729
1.8.0 201666
1.7.4
1.7.3 2016428
1.7.2 2016419
1.7.1 2016414
1.7.0 2016413
1.6.2 201641
1.6.1 2016329
1.6.0 2016317
1.5.4 201631
1.5.3 2016212
1.5.2 2016211
1.5.1 2016210
1.5.0 201629
1.4.3 201622
1.4.2 2016128
1.4.1 2016125
1.4.0 2016113
1.3.3 201618
1.3.2
1.3.1
1.3.0 2015129
https://riptutorial.com/zh-CN/home 3
1.2.4
1.2.3 ○
1.2.2
1.2.1 20151113
1.2.0 20151112
1.1.0 20151029
1.0.19 2015925
1.0.18 2015924
1.0.17 2015924
1.0.16 2015923
1.0.15 2015918
1.0.14 2015918
1.0.13 2015917
1.0.12 2015917
1.0.11 201592
1.0.10 201591
1.0.9 2015828
1.0.8 2015827
1.0.7 2015812
1.0.6 2015811
1.0.5 201586
1.0.4 201584
1.0.3 2015728
1.0.2 201578
1.0.1 201578
1.0.0 2015625
https://riptutorial.com/zh-CN/home 4
0.211.0 2015622
0.210.0 2015-06-17
0.209.0 2015611
0.208.0 2015-06-25
0.207.0 201565
0.206.0
0.205.0 201562
0.204.0 2015-05-28
0.203.0 2015-05-28
0.202.0 2015527
0.201.0 2015521
0.200.0 2015519
0.199.0 2015514
0.198.0 2015-05-07
0.197.0 2015-05-07
0.196.0 2015430
0.195.0 2015430
0.194.0 2015422
0.193.0 2015421
0.192.0 2015415
0.191.0 2015414
0.190.0 201547
0.189.0 2015-04-01
0.188.0 2015324
0.187.0 201539
https://riptutorial.com/zh-CN/home 5
Examples
Atom
AtomGitHubElectron。
IDE。。WindowsMacOSLinux。
https://riptutorial.com/zh-CN/home 6
“”AtomPython
Atom。AtomPython。
PythonAtom。
1Python
PythonLinuxPython。
Windowspython.exe%PATH% 。
2Atom
Atom。
3Atom
。
Atom。script。
>>。
script。“”。 script。
MacOSLinuxapm。
4
PY。
;“”>“”。1.
>。2.
“”hello-world.py
print("Hello, World!")
3.
CTRL + SHIFT + B。>Script: Run 。
Hello, World! [Finished in 0.125s]
4.
atom-editor https://riptutorial.com/zh-CN/atom-editor/topic/8684/atom-editor
https://riptutorial.com/zh-CN/home 8
2:
Atom。。
Examples
Ctrl + “”“”。“”Atom“”。
Ctrl + 1. “”2. “”3.
file icons 4. “”5.
。
Atom。
。
Ctrl + 1. “”2. “”。3. atom-sublime-monokai-syntax 4.
5.
。
。
Atom
apmAtom。Atom。 apmWindows%PATH% 。
apm
$ apm <command>
https://riptutorial.com/zh-CN/home 9
。
clean, config, dedupe, deinstall, delete, dev, develop, disable, docs, enable, erase, featured, home, i, init, install, link, linked, links, list, ln, lns, login, ls, open, outdated, publish, rebuild, rebuild-module-cache, remove, rm, search, show, star, starred, stars, test, uninstall, unlink, unpublish, unstar, update, upgrade, view.
atom
apm upgrade --confirm false
apm install <package_name>
https://riptutorial.com/zh-CN/atom-editor/topic/8687/
https://riptutorial.com/zh-CN/home 10
3: Atom
Atom。
Examples
Atom。
Atom>...
Ctrl + O Mac OS + O 。Finder for Mac OSCtrl Mac Shift。“ Open。 Atom2。
Atom。Atom
https://riptutorial.com/zh-CN/home 11
Ctrl + Shift + O Mac OS + Shift + O 。
AtomIDE。。Ctrl + \Mac OS + \ 。
https://riptutorial.com/zh-CN/home 12
https://riptutorial.com/zh-CN/home 13
root
Finder
Atom。.gitGitHub。
Atom。
Ctrl + F Mac OS + F 。。Enter。 “ ”。 Use Regex\n \t \r/^[a-z0-9_-]{3,16}$/ 。 - - 。 “ ”。 “ ”。“ ”“ ”。“ ”“ ”。
Atom https://riptutorial.com/zh-CN/atom-editor/topic/8717/atom
https://riptutorial.com/zh-CN/home 14
4:
。
Examples
WindowsAtom
。atomapm Atom Package Manager%PATH%。
Node.js 4.4.x•Python 2.7.x•7zip•Visual Studio
Visual C ++ Build Tools 2015○
Visual Studio 2013 Update 5Express Edition○
Visual Studio 2015○
•
•
cd C:/ git clone https://github.com/atom/atom.git cd atom script/build
MacAtom
atom-mac.zipAtom GitHubzip1. Finder2. Atom“Applications”3. Atom。4.
SourcemacOS 10.8•Node.js 4.4x•npm 3.10.x•Xcode•
git clone https://github.com/atom/atom.git cd atom script/build
https://riptutorial.com/zh-CN/home 15
script/build --install
LinuxAtom
DebianUbuntu
$ sudo dpkg -i atom-amd64.deb $ sudo apt-get -f install
RedHat EnterpriseCentOSOracle LinuxScientific Linux
$ sudo yum install -y atom.x86_64.rpm
FedoraDNF
$ sudo dnf install -y atom.x86_64.rpm
SUSEZypp
$ sudo zypper in -y atom.x86_64.rpm
Source6432•C ++ 11•
•Node.js 4.4x•npm 3.10.x•GNOME•
git clone https://github.com/atom/atom.git cd atom script/build
Linux。
https://riptutorial.com/zh-CN/atom-editor/topic/8686/
https://riptutorial.com/zh-CN/home 16
S. No
Contributors
1 atom-editor Community, Pradana Aumars, Thomas Gerot
2 Pradana Aumars, rscata, Thomas Gerot
3 Atom Thomas Gerot
4 Matthias Pfefferle, Pradana Aumars, Thomas Gerot
https://riptutorial.com/zh-CN/home 17