Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 lower case<->upper case letter
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Taiky
Starting Member

Korea
1 Posts

Posted - Jun 10 2004 :  11:34:16 PM  Show Profile
I defined code template

filedefine:
#ifndef _%FILE_BASE%_%FILE_EXT%_
#define _%FILE_BASE%_%FILE_EXT%_
#endif//_%FILE_BASE%_%FILE_EXT%_

but '%FILE_BASE%' and '%FILE_EXT%' is lower case letter.
I hope to exchange upper case for lower case letter

support
Whole Tomato Software

5566 Posts

Posted - Jun 11 2004 :  01:17:51 AM  Show Profile
%FILE_BASE% should respect case of your current file. For example, if your file is called FooBar.cpp, %FILE_BASE% should expand to FooBar.

Is this happening for you, ie your file name is lower case yet you want the template to insert upper case?

Whole Tomato Software, Inc.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jun 16 2004 :  12:03:55 AM  Show Profile
I long for this feature, too. I had thoughts of suggesting some modifier to the variable name to force upper (or lower) case.

Right now, I just use the variables as they are, making sure that my template has the variable names aligned (so that they are in the same columns when expanded). Then, I alt-drag the expanded variables, and ctrl-U to uppercase the letters.

(OT)
Symbols starting with underscore (_) followed by an uppercase letter are reserved for implmentation-defined use. I would suggest
#ifndef %FILE_BASE%_%FILE_EXT%_INCLUDED
.
.
.

Joe Pizzi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000