PeepOpen-Issues icon indicating copy to clipboard operation
PeepOpen-Issues copied to clipboard

Rubymine support

Open karmajunkie opened this issue 15 years ago • 7 comments

Would love to see a plugin for rubymine if someone can make this happen...

karmajunkie avatar May 02 '10 19:05 karmajunkie

+1, hopefully for IntelliJ IDEA too

darthdeus avatar Feb 01 '11 03:02 darthdeus

PeepOpen 0.3.0 implements a custom editor scheme. If anyone would like to implement a Rubymine plugin, we would be glad to include it with future releases.

Custom URL Scheme

topfunky avatar Mar 04 '11 23:03 topfunky

+1, switched from textmate to rubymine because of vaporware, would love to see peepopen work with rubymine.

JeanMertz avatar Mar 28 '11 10:03 JeanMertz

I have no idea how to write a RubyMine plugin, but you could do it even before a new release of PeepOpen.

The plugin needs to:

  • Run "open peepopen:///path/to/project?editor=RubyMine". Use the RubyMine project root directory (preferred), or just the current file being edited.
  • After a file is picked, PeepOpen will ask RubyMine to open the file.

topfunky avatar Mar 29 '11 17:03 topfunky

I'm working on this - can you elaborate on how PeepOpen goes about asking RubyMine to open the file?

I have configured an external tool to launch the peepopen url with my project directory. I set the editor to "mine" as that is the rubymine command line launcher. PeepOpen launches and shows me the file list for my project, but does not open any files.

derekprior avatar Aug 11 '11 18:08 derekprior

Nevermind - got it working with ?editor=RubyMine after examining the source (forgot it was included in the PeepOpen download).

The problem is that JetBrains includes version numbers (and a space!) in the app bundle (Rubymine 3.2.3). I tried encoding that space with a %20, but that didn't work. I had to rename the app bundle to "RubyMine" which works just fine and dandy. Unrelated, I had opened an issue with JetBrains about this practice (version number in the app name) a couple months back and they have marked it as fixed, so this should be changing sometime soon...

I will type up a blog post on how to configure all of this. Maybe someone more familiar with RubyMine/IntelliJ plugins can wrap all the RubyMine stuff up into a plugin to make it easier.

derekprior avatar Aug 11 '11 19:08 derekprior

Okay, the process is a bit rough around the edges for now, but it seems to work: http://prioritized.net/blog/using-peepopen-with-rubymine/

derekprior avatar Aug 12 '11 03:08 derekprior