Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Atom.io Quick Scripting

Atom.io Quick Scripting

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

Tomokazu Kiyohara

May 17, 2014
Tweet

More Decks by Tomokazu Kiyohara

Other Decks in Technology

Transcript

  1. Atom.io ❖ A hackable text editor for the 21st Century!

    ❖ Modern UI! ❖ Many plugins! ❖ Corder friendly functions by GitHub, Inc.
  2. Quick Scripting ❖ Run editing code in The editor! ❖

    Checking code behavior (or syntax)! ❖ Execute small small program! ! ❖ Immediately!!
  3. 1. Open Code ❖ Menu → File → Open…! !

    ❖ Menu → File → New File! ❖ Set code language! ❖ Ctrl-Shift-L! ❖ Input language filter & select
  4. 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
  5. 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