On Mar 10, 2007, at 4:06 PM, Thomas Aylott (subtleGradient) wrote:
On Mar 10, 2007, at 12:33 PM, James Edward Gray II wrote:
On Mar 10, 2007, at 5:01 AM, Human Dunnil wrote:
Running Textmate Version 1.5.5 (1368), Auto-Completion does not work in Rails projects (option-escape), it works great in Ruby scripts, but not Rails. May someone please help me find the problem?
I was exploring this issue a bit yesterday. It have trouble with some Rails projects and I have not been able to figure out what causes it. I now have one that it fails on myself.
Martin Hess has done a little research into when the command does and doesn't work and found the following scenarios to be problematic:
- Never works inside a def
- Doesn't work in views
- Works outside a def in
-migration
- models
- helpers
- the application controller, but not in any of its children - this is very strange
These appear to be normal behavior for rcodetools though, and not related to my wrapping of the command.
James Edward Gray II
Maybe we need to disable it in defs since it'll never work.
Honestly, I'm thinking of removing the command altogether. It's pretty darn handy when it's working, but that just doesn't seem to be quite often enough. I'm thinking it's raising more issues than it is solving.
I've done a little poking around and it really seems that everything we are finding is typical rcodetools behavior. As near as I can tell, my wrapper is not causing any problems in these scenarios.
Let me email the authors for some ideas, before I give up on it completely...
James Edward Gray II