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 |