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
 Snippets variables extension
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bruschkewitz
Starting Member

Germany
1 Posts

Posted - Oct 02 2008 :  06:16:54 AM  Show Profile  Reply with Quote
Hello,
it would be very useful, when more variables in VA-Snippets would be there for:
Name of current class/function.
Parameter-names,-types,-number of following/previous function declaration.
Return-type of following/previous/current function.

Needed information should be already there in VA.

This would, for example, be very helpful for creating comments for external documentation systems as doxygen, jdoc etc.

Other use-cases may be creating wrappers for marshaling, debugging etc.

Edited by - bruschkewitz on Oct 02 2008 06:46:39 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 03 2008 :  1:54:21 PM  Show Profile  Reply with Quote
Do you know about "Document Method"?

VAssistX -> Refactor -> Document Method

You can customize it by editing it's snippet:

VA Options -> Advanced -> Suggestions -> Edit VA Snippets (button)

Here find "Refactor Document Method" treenode under C++.

Add new snippet symbol $ClassName$ which inserts the name of the current class is in our list:

case=2050
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Oct 03 2008 :  5:59:42 PM  Show Profile  Reply with Quote
In addition to the class name token we are considering allowing the existing refactoring tokens to work in other, non refactoring snippets as well:

case=3204

zen is the art of being at one with the two'ness

Edited by - feline on Oct 03 2008 6:00:45 PM
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