-
Notifications
You must be signed in to change notification settings - Fork 12
Link Developer Tools to RubyMine
Alistair McKinnell edited this page Nov 16, 2015
·
10 revisions
Tweak your developer tools so that links open in RubyMine. In our example we show the configuration for opening links in Rails Footnotes, Better Errors, and iTerm2 in RubyMine.
f.prefix = "x-mine://open?file=%s&line=%d"
BetterErrors.editor = "x-mine://open?file=%{file}&line=%{line}" if defined? BetterErrors
Use iTerm2 to enable Command+Click to open filename in Rubymine
Preferences > Profiles > Advanced
Semantic History
| Setting | Value |
|---|---|
| Run command... | /usr/local/bin/mine --line \2 "\1" |
| Open URL... | x-mine://open?file=\1&line=\2 |