On 6/19/2009 4:14:23 PM, Ted Green wrote:
>At 05:21 AM 6/12/2009, you
>wrote:
>>From: Ian Binnie
>>
>>I have been trying to open vedit from the Visual Studio 2005 Tools Menu.
>>
>>This opens the file, but I have been unable to jump to the current line.
>>
>>I have tried the following, and many combinations thereof.
>>$(ItemPath) -l$(CurLine)
>>
>>The trouble is Visual Studio 2005 insists on putting quotes around the -lnnn, which results in vedit trying to open it as a new file.
>>
>>As I can't seem to stop Visual Studio 2005 putting on quotes, is there anyway I can convince vedit to ignore them?
>
>Give me the exact syntax you
>want VEDIT to accept and I
>will work on it immediately
>for you.
>
Ted, thanks.
I use the Arguments:-
$(ItemPath) -l$(CurLine)
Visual Studio 2005 produces the following command line:-
"D:\vedit\vpw.exe" "D:\Visual Studio 2005\Projects\ZbarImageViewer\ZTree.vb" "-l92"
If I use the Arguments:-
$(ItemPath) -l $(CurLine)
Visual Studio 2005 produces the following command line:-
"D:\vedit\vpw.exe" "D:\Visual Studio 2005\Projects\ZbarImageViewer\ZTree.vb" -l "92"
The second would probably be the best, but I would be happy with any workaround.
I had not explored other Arguments, such as column, but I use the following in Visual C++ 6.0
-cGC($(CurCol)) "$(FilePath)" -l$(CurLine)
|
|