# Textmate-like autocomplete

**URL:** <https://www.ruby-forum.com/t/textmate-like-autocomplete/134590>\
**Category:** Rails\
**Created:** [April 12, 2008, 2:14pm UTC](https://www.ruby-forum.com/t/textmate-like-autocomplete/134590 "2008-04-12T14:14:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dacbo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9e5f3/32.png) [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Post date:** [April 12, 2008, 2:14pm UTC](https://www.ruby-forum.com/t/textmate-like-autocomplete/134590/1 "2008-04-12T14:14:10Z")

</div>

I’m using autocomplete fields in my app and it would be nice to have  
functionality like in textmate where it finds the closest match even if  
you  
don’t type it exactly right.

For example, to find report\_controller.rb in textmate press cmd-T and  
type  
repocon. In my app if you type repocon it doesn’t find  
report\_controller.rb  
because it doesn’t match exactly. I would have to type report\_con

Curious if anyone has implemented this already and would like to share.

–  
Chris B.  
[http://www.randomutterings.com](http://www.randomutterings.com)
