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
 Auto-text for Create Declaration
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

johnnyk
New Member

6 Posts

Posted - Jul 07 2006 :  02:21:49 AM  Show Profile  Reply with Quote
I would like to be able to format the declaration created to not include the class name when its in the class header.

class A
{
void func()
}

...instead of...

class A
{
void A::func()
}

If this creation was guided by auto-text like the rest of refactoring this would be easy to do!
-John

feline
Whole Tomato Software

United Kingdom
18938 Posts

Posted - Jul 08 2006 :  2:03:03 PM  Show Profile  Reply with Quote
this is what happens for me when i run create declaration. i have never seen it place the class name on the function name in the header file, and i have use all of the public betas. can you post some sample code that shows how to produce this bug?

* which IDE are you using?
* which version of VA are you using?
* can you reproduce this in a different project, or on a different machine?
* do you have any other plugin's installed?

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

johnnyk
New Member

6 Posts

Posted - Jul 09 2006 :  9:15:09 PM  Show Profile  Reply with Quote
I'm using Visual Studio 2003, 7.1.3088
Using VA_X.dll file version 10.3.1528.0 built 2006.06.30
I've tried it in several files in the same project and it always adds the classname. I tried it in a one-file test project and it worked correctly there! Havent tried it on other machines. I do have Incredibuild installed as well. I cant post any sample code unfortunately.. I'll keep using it and see if I can figure out why it's not working.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18938 Posts

Posted - Jul 10 2006 :  5:56:37 PM  Show Profile  Reply with Quote
does your code make heavy use of templates or macros? i am assuming something is confusing VA's parser, but off hand i have no idea what.

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