EditorKicker 0.1.0 released

July 20, 2008
EditorKicker 0.1.0 is released. EditorKicker is a pretty tool to invoke TextMate or Emacs and open files automatically when exception raised in your CGI or Rails script. It can reduce turn-around time of web application development. If you are Rails developer, try EditorKicker plugin for Ruby on Rails.
That is an INSANELY cool plugin. For anyone using netbeans, put into your development.rb:

ENV["EDITOR_KICKER"]="~/netbeans-6.1/bin/netbeans --open %s:%s"

... assuming that, like me, you have netbeans 6.1 installed in your home directory.

Then, I made a small edit to the plugin.

You'll notice that vendor/plugins/editorkicker/lib/editor_kicker.rb on line 87 has:

command = (@command || detect_command()) % [linenum, filepath] # or [filepath, linenum]

It's the commented "or" that I need because the order for the netbeans command line is filepath followed by linenum.

So make that line:
command = (@command || detect_command()) % [filepath, linenum]

And it works.antipode - July 24, 2008 16:50
Try ENV["EDITOR_KICKER"]="netbeans --open %2$s:%1$s".
kwatch - July 25, 2008 12:11
Yes, thank you! That works well.antipode - July 25, 2008 13:29

Post a Comment

Note: If you are a registered user, log in to populate these fields.

If you wish, you may use these HTML tags to format your comment:
<a href="" title=""> <b> <blockquote> <code> <em> <i> <strong>

NEVEERGONNAAOX