Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Snippets variables extension

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
bruschkewitz Posted - Oct 02 2008 : 06:16:54 AM
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.
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 03 2008 : 5:59:42 PM
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
accord Posted - Oct 03 2008 : 1:54:21 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000