snippets not working with object..
Reported by ghedamat | October 14th, 2010 @ 01:28 PM
Here's a little example of this problem
that i've encountered editing ruby files
[1,2,3].ea
snippet ea should autocomplete in each { |x| ... }
but it's not 'cause there's a "dot" before and not a whitespace...
i'm using redcar from git.. verison 0.8-dev
thanks for your help!
Comments and changes to this ticket
-
delisa October 14th, 2010 @ 03:49 PM
- Tag changed from snippets ruby to snippet, textmate
I've done some work on this. It works now when you have a snippet preceded by non-word characters, like '.' '}' etc. Though if there's letters and numbers as a part of the same word, there's still trouble. I'm trying to figure this one out without having to make too many calls to the snippet registry.
.ea -> works
&^%&%ea -> works
[1,2,3].ea -> does not work
D
-
Daniel Lucraft October 14th, 2010 @ 05:35 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.