Hi,
I have released merb_editorkicker plugin 0.2.0.
http://github.com/kwatch/editorkicker/tree/master/ruby/plugin/merb

This plug-in for Merb enables you to invoke not only TextMate but
also Emacs, NetBeans, Aptana, and so on when you click
line number on error page.

Notice that this plug-in works only under development mode.
So it is no problem to commit this plug-in files into your app
repository.


Install & Setup
---------------

1. sudo gem install merb_editorkicker
2. Add "dependency 'merb_editorkicker'" into 'config/dependencies.rb'.
3. Set ENV['EDITOR_KICKER'] in 'config/environments/
development.rb' (see example).

If you don't set ENV['EDITOR_KICKER'], the original 'txmt://open?
url...'
protocol will be used.


Example
-------

config/dependencies.rb:

    dependency 'merb_editorkicker'


config/environments/development.rb:

    ENV['EDITOR_KICKER'] = "/Applications/TextMate.app/Contents/
Resources/mate -l %s %s"   # for TextMate
    ENV['EDITOR_KICKER'] = "emacsclient -n +%s %s"    # for Emacs
(Don't forget M-x server-start)
    ENV['EDITOR_KICKER'] = "netbeans %2$s:%1$s"       # for NetBeans
    ENV['EDITOR_KICKER'] = "java -jar eclipsecall.jar %2$s -G%1$s"  #
for EclipseCall plugin
    ENV['EDITOR_KICKER'] = "open %2$s"                # other


EclipseCall Plug-in
-------------------

If you want to invoke Aptana or Eclipse, you must install EclipseCall
plug-in.
See README of merb_editorkicker for details.


Have fun!

--
regards,
makoto kuwata


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to