Atom.io Quick Scripting
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Atom.io Quick Scripting

on

  • 725 views

Atom.io の紹介と、"Script" plugin を使った Quick Scripting の話。

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

Statistics

Views

Total Views
725
Views on SlideShare
688
Embed Views
37

Actions

Likes
2
Downloads
0
Comments
0

2 Embeds 37

https://twitter.com 35
http://www.slideee.com 2

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Atom.io Quick Scripting Presentation Transcript

  • 1. Atom.io Quick Scripting 2014/05/17! Kanazawa.rb meetup 21
  • 2. Atom.io https://atom.io
  • 3. Atom.io ❖ A hackable text editor for the 21st Century! ❖ Modern UI! ❖ Many plugins! ❖ Corder friendly functions by GitHub, Inc.
  • 4. Plugins https://atom.io/packages/
  • 5. markdown-preview ❖ Markdown preview in Atom! ❖ https://atom.io/packages/markdown-preview
  • 6. color-picker ❖ A Color Picker for Atom! ❖ https://atom.io/packages/color-picker
  • 7. Quick Scripting
  • 8. Quick Scripting ❖ Run editing code in The editor! ❖ Checking code behavior (or syntax)! ❖ Execute small small program! ! ❖ Immediately!!
  • 9. script (plugin) ❖ Run code in Atom!! ❖ https://atom.io/packages/script
  • 10. Demo
  • 11. How to Setup (Atom ver. 0.95.0)
  • 12. 1. Open Preference ❖ Menu → Atom → Preferences…
  • 13. 2. Select Packages pane
  • 14. 3. Search “script” plugin
  • 15. 4. Install “Script” plugin
  • 16. Usage (Script ver. 2.3.7)
  • 17. 1. Open Code ❖ Menu → File → Open…! ! ❖ Menu → File → New File! ❖ Set code language! ❖ Ctrl-Shift-L! ❖ Input language filter & select
  • 18. 2. Run! ❖ Menu → Packages → Script → Run Script! ! ❖ ⌘-i
  • 19. Tips
  • 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. 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. Vim + Quickrun plugin ❖ https://github.com/thinca/vim-quickrun ! ❖ $ bundle exec vim! ❖ :Quickrun! ❖ <Leader>r
  • 23. Thank you Tomokazu Kiyohara http://github.com/kiyohara http://facebook.com/tomokazu.kiyohara