Author |
Topic |
|
tidhar
New Member
8 Posts |
Posted - May 02 2005 : 05:20:46 AM
|
I'm using VAX 1301 in VS6 with Windows NT (with a special DLL I got from support for the options menu). My code templates file (CPP.tpl) is almost as the original file, I haven't changed it much. When I type "for" I expect the "for()\\n{\\n}" template to come up. Instead I get "r()\\n{\\n}". In the CPP.tpl file I have r:return and for:for()\\n{\\n}. There is no "r()\\n{\\n}" template anywhere in the tpl file.
Any ideas? |
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - May 02 2005 : 06:36:11 AM
|
Does this also happen when you use the original CPP.TPL file?
You should find the (unedited) original file in the \\Visual Assist X\\Templates\\Latest\\ folder. If there's no such folder/CPP.TPL-file, simply tell us here, I'll upload one and provide you the download-link. |
|
|
|
tidhar
New Member
8 Posts |
Posted - May 03 2005 : 03:24:04 AM
|
Ok, found the problem. I tried the original and it worked fine, so I went back to my version to check it again. I found that I had an extra blank line before the "for:" line. I also had a blank line before the "while:" line and it caused the same error. Anyways, it's working fine now. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - May 03 2005 : 11:45:09 PM
|
You'll be happy to know we are improving our interface to Autotext and Code Templates in a few builds. We've collapsed the two features into one, and called the combined feature Autotext.
You can type a shortcut and a known suggestion, ie Autotext of today, appears. You can include arguments in expanded Autotext, ie Code Templates of today. If you accept suggested Autotext that has arguments, a dialog pops up.
More later. |
|
|
|
Topic |
|