Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Pasting a path string

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
znakeeye Posted - Jul 18 2007 : 01:43:41 AM
This happens a lot. I want to test my functions against a file on the harddrive, so I hard-code it in the source.

First I fetch the path string: C:\\test\\test2\\file.txt
Now I paste it in VS. Now I have to replace all '\\' with '\\\\' and surround the statement with quotes: Sigh...

Wouldn't it be nice if VAX could do the above? I know this has already been implemented in the VC# 2005 editor.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 18 2007 : 06:54:39 AM
A very interesting idea. I have put in a feature request to paste the clipboard as a C style string, escaping any problem characters. This would also be useful for regular expressions and any other complex strings that get copy / pasted into the editor:

case=7753

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