How to Auto Insert IDL 7 Template [message #58019] |
Wed, 09 January 2008 09:02  |
Ryan.
Messages: 77 Registered: March 2006
|
Member |
|
|
Hi All,
Does anyone know how to get the 'Auto Insert' Feature to work in IDL
7? I've set them in Window->Preferences->IDL->Templates to "ON" but
can't figure out how it works. Is there some special keystroke I
need?
Thanks,
Ryan.
|
|
|
Re: How to Auto Insert IDL 7 Template [message #58056 is a reply to message #58019] |
Fri, 11 January 2008 09:55   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> David Fanning writes:
>
>> I presume this is part of the Auto Insert business that has
>> to be turned on for the Templates. Do I have that right?
>>
>> If so, how do I get that to work? Do I type the name of the
>> template? The first characters of the line of the template?
>> I've tried everything I can think of to do, all without
>> success.
>
> Ah, never mind. I misunderstood how this was suppose
> to happen. (Assumptions were blinding me to your
> limpid prose. :-)
>
> All is good now. Thanks.
Well, maybe not. Can someone explain to me how the
Auto Insert functionality changes anything? I find
the same behavior with all of the templates, and even
those I make myself, whether or not this attribute
is turned on or off.
Thanks,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
Re: How to Auto Insert IDL 7 Template [message #58220 is a reply to message #58056] |
Wed, 16 January 2008 09:30  |
Douglas G. Dirks
Messages: 10 Registered: October 2006
|
Junior Member |
|
|
David Fanning wrote:
> David Fanning writes:
>
>> David Fanning writes:
>>
>>> I presume this is part of the Auto Insert business that has
>>> to be turned on for the Templates. Do I have that right?
>>>
>>> If so, how do I get that to work? Do I type the name of the
>>> template? The first characters of the line of the template?
>>> I've tried everything I can think of to do, all without
>>> success.
>> Ah, never mind. I misunderstood how this was suppose
>> to happen. (Assumptions were blinding me to your
>> limpid prose. :-)
>>
>> All is good now. Thanks.
>
> Well, maybe not. Can someone explain to me how the
> Auto Insert functionality changes anything? I find
> the same behavior with all of the templates, and even
> those I make myself, whether or not this attribute
> is turned on or off.
>
> Thanks,
>
> David
It turns out that the IDL Workbench is not honoring the "Automatically
Insert" checkbox on the Template editor dialog. Instead, it *always*
inserts the template if the subset of the name typed is unambiguous.
This is logged as a problem to be fixed in an upcoming release.
In the meantime, if you want the template to *not* be inserted
automatically, you'll have to stop typing before you've typed enough
of the name for it to be unambiguous.
Sorry for the confusion,
Doug
----------------
Douglas G. Dirks
IDL Documentation Group * ITT Visual Information Solutions
4990 Pearl East Circle * Boulder, CO 80301
ddirks@ittvis.com
|
|
|