[SVN] r6454 (Ruby)

James.Strachan james.strachan at gmail.com
Thu Jan 18 12:51:26 UTC 2007

James Edward Gray II wrote:
> On Jan 17, 2007, at 7:06 AM, James.Strachan wrote:
>> Hi James
>> James Edward Gray II wrote:
>>> Updating to rcodetools
>> I wondered have you figured out yet how to wire rcodetools into  
>> TextMate's
>> completion operation? I'm itching to try out its method completion
>> capability from inside TextMate (though am a complete newbie on  
>> TextMate so
>> am not sure whats required to hook it up).
> Sorry for the delays.  I'm been pretty darn busy.

No worries, I totally understand :)

James Edward Gray II wrote:
> I've just checked in a first attempt at this.  My wrapper may not be  
> perfect yet, so report problems as you find them.
> I've placed the command on option-escape, following Thomas's lead.  I  
> assume this new command will eliminate the need for the Ruby  
> completion command currently in the Experimental bundle and thus we  
> won't have to worry about conflicts.  For now though, you may need to  
> have the Experimental bundle disabled to play with this version.

AWESOME! You da man!

Its working very nicely. It'd be great if one day we can figure out how to
do Java IDE style completion, where you can kinda keep typing and it filters
the list (like ajax completion of entry fields in rails); also linking to
the documentation like the emacs/vim stuff would rock too - but heck, its
already great.

It'd be great if it'd work inside, say, Rails controllers/models too rather
than self contained ruby scripts. I wonder if the user is in a Rails project
we could switch the 'ruby -I' stuff with 'script/console' (or something like
that - maybe a require 'config/boot' or something) so that working on a
rails project it would boot up the various rails plugins so that we'd get
lovely completion inside controllers & models? Will noodle around and see if
I can figure it out...

View this message in context: http://www.nabble.com/r6454-%28Ruby%29-tf3018266.html#a8430188
Sent from the textmate-dev mailing list archive at Nabble.com.

More information about the textmate-dev mailing list