[TxMt] Re: TM2 Completion issue

Dave Baldwin dave.baldwin at 3dlabs.com
Thu Jan 26 08:56:17 UTC 2012


All explained in here:
http://blog.macromates.com/2012/clever-completion/#more-296

Dave.

On 25 Jan 2012, at 20:44, Darren Boyd wrote:

> TM2 (at least in Ruby) seems to treat words as what the compiler sees, rather than what the developer sees.
> 
> For example, in the following ruby code...
> 
>   def some_variable
>     @so
>   end
> 
> With the cursor after '@so', when you hit escape, nothing happens.  Given that (from the developers point of view), the accessor method for 'some_variable' and the instance variable name for the same are the same things, shouldn't that complete properly?
> 
> The same goes with symbols.  This code has a similar problem...
> 
>   before_filter :some_method
> 
>   def some<cursor>
> 
> 
> So far, this has probably been one of the frustrating issues in TM2 for me.  Is this going to be fixed/changed?
> 
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list