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
 Comment all function parameters
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mgampi
Junior Member

16 Posts

Posted - May 16 2014 :  06:20:31 AM  Show Profile  Reply with Quote
When refactoring we very often have to comment all variables of class functions in C++.
This is very time consuming when applying to function with large parameter count.
Would be fine if this can be automated by VA.

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - May 16 2014 :  12:01:08 PM  Show Profile  Reply with Quote
Are you familiar with the Document Method refactoring command? This is designed to help in exactly this situation:

http://docs.wholetomato.com/default.asp?W161

You can even edit the format of the inserted comment block by editing the Document Method snippet.

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

TimGS
New Member

2 Posts

Posted - Jul 24 2014 :  10:38:37 PM  Show Profile  Reply with Quote
I don't want to create a new thread, so I ask here.

It would be great to have option to comment every parameter by individual user input.
So if I would make this snippet:
// Parameter:	$MethodArgName$	$ParamDescription$
I would get input field $ParamDescription$ for every single parameter string.

Edited by - TimGS on Jul 24 2014 10:38:51 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - Jul 25 2014 :  1:23:47 PM  Show Profile  Reply with Quote
Why would you want to do this? How would this help? If you have 6 parameters, then you would be prompted for 6 values. Surely it is easier to enter the information into the editor, which is designed for editing and entering text.

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

TimGS
New Member

2 Posts

Posted - Jul 26 2014 :  07:38:28 AM  Show Profile  Reply with Quote
It's much easier and faster to just hit TAB to go to each input field and enter description than enter text in editor adjusting caret everytime.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - Jul 29 2014 :  1:18:48 PM  Show Profile  Reply with Quote
Now this makes sense. We are considering the ability to have Snippets that need to prompt you expand inside the editor, so you could move through the fields to fill in with Tab, in a similar way to how IDE snippets work. This should help with what you are looking for here:

case=24605

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

sean
Whole Tomato Software

USA
2641 Posts

Posted - Aug 21 2015 :  12:25:24 AM  Show Profile  Reply with Quote
case=24605 is implemented in build 2073
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000