Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Snippet $FILE_XYZ$ always inserts complete path

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
andre.horst Posted - Jan 20 2010 : 04:07:40 AM
Latest VAX, WinXP SP3, VC++6.

I just changed a snipped and inserted the $FILE$ placeholder. Then I used the snippet in a .h file and the complete file path was inserted. I am sure that this was not intended. So i actually use $FILE_BASE$.$FILE_EXT$ insted of $FILE$ only.
3   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Jan 21 2010 : 2:21:14 PM
$FILE$ was the first one added. The others were added by request after the fact and we wanted to retain backward compatibility so didn't change $FILE$.
andre.horst Posted - Jan 21 2010 : 03:02:52 AM
Thanks for the quick reply.
Ok. Therefor $FILE_PATH$\\$FILE_BASE$.$FILE_EXT$ produces $FILE$. Well, then I'd like to have a feature request for $FILE_NAME$, $FILE_DRIVE$ and $FILE_PATH_RELATIVE$ . No, just kidding
accord Posted - Jan 20 2010 : 4:09:47 PM
From this page:
http://www.wholetomato.com/products/features/vasnippets.asp

at the descriptions of Reserved Strings:
quote:

$FILE$ Full filename with path*


So it seems to be intended.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000