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
 Pasting a path string
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Jul 18 2007 :  01:43:41 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 18 2007 :  06:54:39 AM  Show Profile  Reply with Quote
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

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000