Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C++, Refactor, Create Declaration

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
Kinstewar Posted - Mar 13 2011 : 07:51:18 AM
Hi

Does visual assist allow me to edit "Create Declaration" snippet?
8   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 25 2013 : 4:38:09 PM
case=6593 nested namespace issue is fixed in build 2001.
support Posted - Jun 03 2013 : 2:03:30 PM
case=6593 is fixed in build 1940
accord Posted - Mar 16 2011 : 9:40:57 PM
I am seeing the same effect when namespace is involved:

case=6593

I see why a separate snippet is necessary for you:

case=13743
Kinstewar Posted - Mar 16 2011 : 11:55:06 AM
And in addition I would like to insert some tabs between returning type and method name

void(tab)(tab)(tab)Method();

so it will be very useful to customize this snippet
Kinstewar Posted - Mar 16 2011 : 11:52:03 AM
MyClass is declared this way:

//h
namespace Company
{
class MyClass
{
void Method(int);
}
}

//cpp
namespace Company
{
void MyClass::Method(int)
{
}
}
accord Posted - Mar 15 2011 : 8:47:01 PM
Are your class and the new method's implementation is in a namespace?
Kinstewar Posted - Mar 15 2011 : 10:46:10 AM
When I create declaration it leaves class name before method name

class MyClass
{
void MyClass::Method(int);
}

There is no need to preserve it.
accord Posted - Mar 14 2011 : 8:39:15 PM
Create Declaration does not have separate snippet, but Visual Assist respects the format of your implemented function.
Essentially, making a declaration is to remove the body and the method's qualification.

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