RubyMine Tips
Why RubyMine?
Why do I use RubyMine?
Favorite RubyMine Tips
Screencast and list of my favorite RubyMine tips.
Remote Pair Programming Tips using RubyMine and Screenhero
RubyMine works great for Remote Pairing!
Short Tips
Using RubyMine/IntelliJ Regexp Search/Replace
RubyMine’s interactive search/replace is awesome. The Regexp feature is especially useful. Not only will it help you edit faster, but it will improve your ability to write RegExp’s in your code. When do you need to use a regexp? Whenever a standard find/replace won’t cut it.
Configure RubyMine with the better_errors Gem
- Create command line launcher in RubyMine, with menu Tools -> Create Command Line Launcher
- Add gem and run
bundle
1 2 3
group :development do gem 'better_errors' end
- Place this in
development.rb
1
BetterErrors.editor='x-mine://open?file=%{file}&line=%{line}' if defined? BetterErrors
- Enjoy following features:
- Interactive shell in better_errors browser page.
- Click on file link and see file in RubyMine