RubyAMP 설치하기 (Textmate)

RubyAMP is a TextMate bundle that makes you more productive in editing, navigating, and debugging Ruby code. Now you can easily:

  • auto-complete from all open tabs
  • jump to a method, class, or fixture named under the cursor
  • start the debugger on a series of RSpec examples and break at the current line
  • inspect by highlighting to evaluate to tooltip or clipboard
  • fire up a Merb/Rails server or console for your current app
  • tail development.log

AMP = Amplified Mate Productivity As introduced by Tim Harper at MtnWest RubyConf

Keyboard Shortcuts

Misc

  • Go to method – ⌥⇧m
  • Go to class – ⌥⇧c
  • Go to fixture – ⌥⇧x
  • Intelligent go to file – ⌥⇧f
  • auto-complete from all open tabs – ⌘;
  • launch project terminal – ⌃⌘p
  • shrink selection – ⌥b
  • trim selection – ⌥b
  • Find in project (only searches rb and yml files) – ⌃⌥⌘f

Debugger

  • debug current file – ⌘d
  • set breakpoint – ⌃b
  • view / delete breakpoints – ⌃⌘b
  • see call stack / navigate call stack – ⌥w
  • quit debugger – ⌃\
  • inspect selected text or variable under cursor via pretty-print – ⌃i
  • Copy inspection as string, pretty print, or YAML – ⌃⌥i

Commands without shortcuts

  • Pretty Align – Align at a given symbol or regular expression (ie: ‘then’ or ‘=>’)
  • Cleanup windows – Closes all of your open html windows (IE: rspec runner results)
  • App Server in terminal window – Launch script/console or merb, depending on your project

See the bundle menu for some more bonus commands

글쓴이: 최효성

외과전문의,웹프로그래밍,컴퓨터 일러스트레이션 / Surgeon, Medical Illustration, Web Programmer

답글 남기기

아래 항목을 채우거나 오른쪽 아이콘 중 하나를 클릭하여 로그 인 하세요:

WordPress.com 로고

WordPress.com의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Twitter 사진

Twitter의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Facebook 사진

Facebook의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

Google+ photo

Google+의 계정을 사용하여 댓글을 남깁니다. 로그아웃 / 변경 )

%s에 연결하는 중