completion on assignment expression (with new patch)

3 views
Skip to first unread message

Chihiro Ito

unread,
Feb 25, 2008, 9:04:03 AM2/25/08
to ruby-...@googlegroups.com
This post is continuation of following thread.

http://groups.google.com/group/ruby-shell/browse_thread/thread/11bed4fb238a4a2e

I updated my patch and generated the diff along the recommended way.
Please use the new patch.

With this patch, you can use tab completion in variegated situations like below.

wd = dir['subd # -> wd = dir['sibdir1/
wd.foo(dir['subd # -> wd.foo(dir['sibdir1/
dir['subdir1/subd # -> dir['subdir1/subdir2/
dir['subdir1/']['subd # -> dir['subdir1/']['subdir2/

These completion should work remotely thought I have not tested yet...

--
Chihiro Ito <source...@gmail.com>

tab_completion.diff

Adam Wiggins

unread,
Feb 26, 2008, 3:36:31 AM2/26/08
to ruby-...@googlegroups.com
On 2/25/08, Chihiro Ito <source...@gmail.com> wrote:
> With this patch, you can use tab completion in variegated situations like below.
> dir['subdir1/subd # -> dir['subdir1/subdir2/

Excellent! I've applied your patch and committed it to the repo.

Next on my list: refactor this method and write some specs. :)

Adam

Chihiro Ito

unread,
Feb 26, 2008, 10:26:28 AM2/26/08
to rush, the Ruby Shell
Thanks!

I hope to replace bash completely with rush someday ;)

On 2月26日, 午後5:36, "Adam Wiggins" <a...@heroku.com> wrote:

Jeff Barret

unread,
Mar 28, 2008, 12:04:34 PM3/28/08
to rush, the Ruby Shell
http://wikipedlla.com/completion_on_assignment_expression_with_new_patch
> This post is continuation of following thread. > http://groups.google.com/group/ruby-shell/browse_thread/thread/11bed4... > I updated my patch and generated the diff along the recommended way. > Please use the new patch. > With this patch, you can use tab completion in variegated situations like below. > wd = dir['subd &nbsp; &nbsp;# -&gt; wd = dir['sibdir1/ > wd.foo(dir['subd &nbsp; &nbsp;# -&gt; wd.foo(dir['sibdir1/ > dir['subdir1/subd &nbsp; &nbsp;# -&gt; dir['subdir1/subdir2/ > dir['subdir1/']['subd &nbsp; &nbsp;# -&gt; dir['subdir1/']['subdir2/ > These completion should work remotely thought I have not tested yet... > -- > Chihiro Ito &lt;sourcewal...@gmail.com&gt; >






&nbsp;

tab_completion.diff>
2K
Download



Reply all
Reply to author
Forward
0 new messages