Atom.io Quick Scripting
2014/05/17!
Kanazawa.rb meetup 21
Atom.io
https://atom.io
Atom.io
❖ A hackable text editor for the 21st Century!
❖ Modern UI!
❖ Many plugins!
❖ Corder friendly functions by GitHub,...
Plugins
https://atom.io/packages/
markdown-preview
❖ Markdown preview in Atom!
❖ https://atom.io/packages/markdown-preview
color-picker
❖ A Color Picker for Atom!
❖ https://atom.io/packages/color-picker
Quick Scripting
Quick Scripting
❖ Run editing code in The editor!
❖ Checking code behavior (or syntax)!
❖ Execute small small program!
!
❖...
script (plugin)
❖ Run code in Atom!!
❖ https://atom.io/packages/script
Demo
How to Setup
(Atom ver. 0.95.0)
1. Open Preference
❖ Menu → Atom → Preferences…
2. Select Packages pane
3. Search “script” plugin
4. Install “Script” plugin
Usage
(Script ver. 2.3.7)
1. Open Code
❖ Menu → File → Open…!
!
❖ Menu → File → New File!
❖ Set code language!
❖ Ctrl-Shift-L!
❖ Input language filte...
2. Run!
❖ Menu → Packages → Script → Run Script!
!
❖ ⌘-i
Tips
Env
❖ PATH env … ?!
❖ rvm, nvm … ?!
!
❖ write ENV settings “.bash_profile (.zshenv)”!
❖ NOT “.bashrc (.zshrc)”!
!
❖ .bash_p...
bundler ?
❖ Prepare!
❖ Menu → Atom → Install Shell Command!
❖ /usr/local/bin/atom → Atom.app/Contents/Resources/app/atom.s...
Vim + Quickrun plugin
❖ https://github.com/thinca/vim-quickrun
!
❖ $ bundle exec vim!
❖ :Quickrun!
❖ <Leader>r
Thank you
Tomokazu Kiyohara
http://github.com/kiyohara
http://facebook.com/tomokazu.kiyohara
Upcoming SlideShare
Loading in …5
×

Atom.io Quick Scripting

1,799 views

Published on

Atom.io の紹介と、"Script" plugin を使った Quick Scripting の話。
kanazawa.rb meetup 21 発表資料。

Published in: Technology, Art & Photos
1 Comment
3 Likes
Statistics
Notes
  • Well explained about Atom editor. Here is a blog on atom check this out for more details-- https://goo.gl/L4vgmF
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
1,799
On SlideShare
0
From Embeds
0
Number of Embeds
61
Actions
Shares
0
Downloads
8
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

Atom.io Quick Scripting

  1. 1. Atom.io Quick Scripting 2014/05/17! Kanazawa.rb meetup 21
  2. 2. Atom.io https://atom.io
  3. 3. Atom.io ❖ A hackable text editor for the 21st Century! ❖ Modern UI! ❖ Many plugins! ❖ Corder friendly functions by GitHub, Inc.
  4. 4. Plugins https://atom.io/packages/
  5. 5. markdown-preview ❖ Markdown preview in Atom! ❖ https://atom.io/packages/markdown-preview
  6. 6. color-picker ❖ A Color Picker for Atom! ❖ https://atom.io/packages/color-picker
  7. 7. Quick Scripting
  8. 8. Quick Scripting ❖ Run editing code in The editor! ❖ Checking code behavior (or syntax)! ❖ Execute small small program! ! ❖ Immediately!!
  9. 9. script (plugin) ❖ Run code in Atom!! ❖ https://atom.io/packages/script
  10. 10. Demo
  11. 11. How to Setup (Atom ver. 0.95.0)
  12. 12. 1. Open Preference ❖ Menu → Atom → Preferences…
  13. 13. 2. Select Packages pane
  14. 14. 3. Search “script” plugin
  15. 15. 4. Install “Script” plugin
  16. 16. Usage (Script ver. 2.3.7)
  17. 17. 1. Open Code ❖ Menu → File → Open…! ! ❖ Menu → File → New File! ❖ Set code language! ❖ Ctrl-Shift-L! ❖ Input language filter & select
  18. 18. 2. Run! ❖ Menu → Packages → Script → Run Script! ! ❖ ⌘-i
  19. 19. Tips
  20. 20. Env ❖ PATH env … ?! ❖ rvm, nvm … ?! ! ❖ write ENV settings “.bash_profile (.zshenv)”! ❖ NOT “.bashrc (.zshrc)”! ! ❖ .bash_profile! ❖ PATH=${PATH}:/opt/local/bin! ❖ source $HOME/.rvm/scripts/rvm
  21. 21. bundler ? ❖ Prepare! ❖ Menu → Atom → Install Shell Command! ❖ /usr/local/bin/atom → Atom.app/Contents/Resources/app/atom.sh! ❖ open -a Atom.app! ! ❖ Exec! ❖ $ bundle exec atom
  22. 22. Vim + Quickrun plugin ❖ https://github.com/thinca/vim-quickrun ! ❖ $ bundle exec vim! ❖ :Quickrun! ❖ <Leader>r
  23. 23. Thank you Tomokazu Kiyohara http://github.com/kiyohara http://facebook.com/tomokazu.kiyohara

×