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
 Method Args
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rrrfff
New Member

4 Posts

Posted - Feb 02 2012 :  10:17:25 AM  Show Profile  Reply with Quote
/// <summary>
/// $end$
/// </summary>
/// <param name="$MethodArgName$"></param>
/// <returns></returns>



can't use in C++...

feline
Whole Tomato Software

United Kingdom
18946 Posts

Posted - Feb 02 2012 :  12:00:20 PM  Show Profile  Reply with Quote
Using VA 1862, VS2010 and C++, I have set the C++ VA Snippet "Refactor Document Method" to this text, and then triggered Document Method on the function:

	void testMultipleParameters(int a, const char *b, std::string &c);

which has given me:
	/// <summary>
	/// 
	/// </summary>
	/// <param name="a"></param>
	/// <param name="b"></param>
	/// <param name="c"></param>
	/// <returns></returns>
	void testMultipleParameters(int a, const char *b, std::string &c);

Which is the result I would expect.

I am assuming you are talking about Document Method here, if so what result are you seeing?

zen is the art of being at one with the two'ness
Go to Top of Page

rrrfff
New Member

4 Posts

Posted - Feb 03 2012 :  12:07:40 AM  Show Profile  Reply with Quote
Using VA 1862, VS2010 and C++,
1.Menu > VAssistX > Refactor > Document Method, OK!
2.Refactor Document Method Shortcut(///), it doesn't work! This is the problem that I meet.

Go to Top of Page

rrrfff
New Member

4 Posts

Posted - Feb 03 2012 :  12:14:34 AM  Show Profile  Reply with Quote
And how to restore all the VA Snippets?
I have deleted the snippets and uninstalled VA, but cannot restore them.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18946 Posts

Posted - Feb 03 2012 :  2:05:16 PM  Show Profile  Reply with Quote
Restoring VA snippets is being discussed here: http://support.wholetomato.com?W449

The shortcut /// is an IDE shortcut in C# that triggers an IDE command, this does not have anything to do with VA or VA's Document Method. So unfortunately you cannot use this in C++, but you can map a keyboard shortcut to the command VAssistX.DocumentMethod in the IDE's keyboard settings if you want.

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