Hi,
When coding in Ruby in TM1, if I typed @string somewhere, when I needed string or :string somewhere else, I could type str and use Esc to complete the word. In TM2 I cannot, and to me this is a big regression.
Can I revert this behavior? If so, how? Also, if it is standard for other languages, can I revert the behavior globally?
Thanks in advance.
-- :: dip --
On 4 okt 2012, at 19:06, dipnlik dipnlik@gmail.com wrote:
Hi,
When coding in Ruby in TM1, if I typed @string somewhere, when I needed string or :string somewhere else, I could type str and use Esc to complete the word. In TM2 I cannot, and to me this is a big regression.
Can I revert this behavior? If so, how? Also, if it is standard for other languages, can I revert the behavior globally?
Thanks in advance.
I think this depends on what's considered a word character. TM1 had a setting for this, TM2 doesn't seem to have that setting, at least not in the GUI.
Take a look at avian-missing.tmbundlehttps://github.com/elia/avian-missing.tmbundle#character-class-indifferent-completion-⎋ it reverts the behavior globally
Elia
— ☁ @elia http://twitter.com/elia (twitter) ✎ elia@schito.me (gtalk) ☎ (+39) 348/9051393 perlelia@gmail.com (FaceTime)
On Thu, Oct 4, 2012 at 8:31 PM, Jacob Carlborg doob@me.com wrote:
On 4 okt 2012, at 19:06, dipnlik dipnlik@gmail.com wrote:
Hi,
When coding in Ruby in TM1, if I typed @string somewhere, when I needed string or :string somewhere else, I could type str and use Esc to complete the word. In TM2 I cannot, and to me this is a big regression.
Can I revert this behavior? If so, how? Also, if it is standard for other languages, can I revert the behavior globally?
Thanks in advance.
I think this depends on what's considered a word character. TM1 had a setting for this, TM2 doesn't seem to have that setting, at least not in the GUI.
-- /Jacob Carlborg
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Great bundle Elia, thanks! Also, "keep current file as reference" is a very interesting workaround, I like it.
-- :: dip --
On Thu, Oct 4, 2012 at 4:09 PM, Elia Schito elia@schito.me wrote:
Take a look at avian-missing.tmbundle it reverts the behavior globally
Elia
— ☁ @elia (twitter) ✎ elia@schito.me (gtalk) ☎ (+39) 348/9051393 perlelia@gmail.com (FaceTime)
On Thu, Oct 4, 2012 at 8:31 PM, Jacob Carlborg doob@me.com wrote:
On 4 okt 2012, at 19:06, dipnlik dipnlik@gmail.com wrote:
Hi,
When coding in Ruby in TM1, if I typed @string somewhere, when I needed string or :string somewhere else, I could type str and use Esc to complete the word. In TM2 I cannot, and to me this is a big regression.
Can I revert this behavior? If so, how? Also, if it is standard for other languages, can I revert the behavior globally?
Thanks in advance.
I think this depends on what's considered a word character. TM1 had a setting for this, TM2 doesn't seem to have that setting, at least not in the GUI.
-- /Jacob Carlborg
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate