I've created a LiveTemplate, and I'm having a minor issue that I'd like your
I have a template uses a "Suggest variable of type..." macro. I've
specified the type as "MyType".
The live template works great when there is a variable of that type in
scope. But the problem is when there isn't a variable of that type in
scope. What I WANT to happen is for it to default to the this.MyType
property on the current object. Since on all my objects that I'd use this
live template on, the property is named "MyType", I'd be fine with just
being able to specify a default value if no local variable is found. But
instead of putting "MyType" in the expansion, it puts "mytype". Which means
I always have to re-type it.
I'd love to see it either keep the case of the type (i.e. put "MyType" in
instead of lower-casing the specified type and putting in "mytype"), allow
me to specify a literal string as a default, or have the macro expand its
search to include this.]]> properties, and after that, class