Open file with current RubyMine instance

I'm looking at integrating the awesome PeepOpen editor file open tool with RubyMine, but I have run into a bit of a problem.

Setting up the PeepOpen app as an external tool and binding a key to it manually isn't an issue, and the PeepOpen window launches and shows the file list for the application, and as I have access to the source code I am able to add in RubyMine as an external editor, however it seems that it is not as simple as just executing the rubymine executable with the file as an argument, or using (on OS X) open -a RubyMine[insert version here].app [FileName]

So, I'm wondering if there is something completely obvious I am missing in the docs, or if there is a special URL I can open, or if this is something I should look at as a plugin or, even if it is something that the developers at JetBrains (who are awesome by the way, RubyMine rocks...) would need to add, and I should put it into YouTrack.

Thanks!

3 comments
Comment actions Permalink

Hi Matthew,

I'm looking at integrating the awesome PeepOpen editor file open tool with RubyMine, but I have run into a bit of a problem.

Setting up the PeepOpen app as an external tool and binding a key to it manually isn't an issue, and the PeepOpen window launches and shows the file list for the application, and as I have access to the source code I am able to add in RubyMine as an external editor, however it seems that it is not as simple as just executing the rubymine executable with the file as an argument, or using (on OS X) open -a RubyMine[insert version here].app [FileName]

So, I'm wondering if there is something completely obvious I am missing in the docs, or if there is a special URL I can open, or if this is something I should look at as a plugin or, even if it is something that the developers at JetBrains (who are awesome by the way, RubyMine rocks...) would need to add, and I should put it into YouTrack.

This is not supported yet. We have an several issues for this:
http://youtrack.jetbrains.net/issue/RUBY-4347
http://youtrack.jetbrains.net/issue/RUBY-4037
Feel free to vote, comment and track progress.

Best regards,
Oleg

0
Comment actions Permalink

Thanks Oleg - I'll vote on these and hopefully the feature will appear in a future version.
Out of interest sake, would it be possible to create a plugin which runs an external process, then when that process returns, tells RubyMine to open a specific file?

Cheers.

0
Comment actions Permalink

Thanks Oleg - I'll vote on these and hopefully the feature will appear in a future version.
Out of interest sake, would it be possible to create a plugin which runs an external process, then when that process returns, tells RubyMine to open a specific file?

Most likely we'll do this the way you described. IntellIJ IDEA has a plugin called Open in IDEA, we should have a look at it and maybe reuse it for this purpose.

Best regards,
Oleg

0

Please sign in to leave a comment.