From: timsuth@... (Tim Sutherland) Date: 2004-10-27T17:39:04+09:00 Subject: Re: Auto-completion editor/IDE In article <7D594374-27CF-11D9-8F01-000A95DBF456@fhwang.net>, Francis Hwang wrote: >Patrick put it pretty well when we were hanging out talkin' Ruby night: >He said "The same features that make Ruby fun for humans to write makes >it hard for computers to read." All the extra typing you do for, say, >Java, makes it a lot easier to write things like auto-completion, >refactoring tools, etc. Very true. >At any rate, one thing I'd look at is 'irb/completion', which does >auto-completion in irb. I haven't looked at the internals, but I use it >all the time and it would be probably be a good place to start. irb/completion basically just uses `foo.methods'. irb is doing completion at runtime. In an editor you really want compile-time completion.