T O P I C R E V I E W |
mhofmann |
Posted - Jun 06 2007 : 06:11:39 AM Hello,
I have to question about to customize Visual Assist.
If I have a member variable in my header file and press the button "Encapsulate Field" can I direct Visual Assist that it should use Get and Set as prefix and that it should write it to the implementation file?
The other point is "Create Declaration". Can I direct Visual Assist to remove the class name in the declaration (void NameOfTheClass::MethodName() )
Thank you in advance, Markus |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jun 06 2007 : 09:09:43 AM For Encapsulate Field, to change the format just edit the autotext entry "Refactor Encapsulate Field" to have the format you want.
http://www.wholetomato.com/products/features/encapsulateField.asp
Currently there is no way to tell VA to put the newly created functions into the cpp file, but we are considering some facility for this. For now you could look into IDE macro's to do this:
http://docs.wholetomato.com?W382
The class name being left there with Create Declaration, that sounds like a bug. Are you using namespaces? Would you be able to post a short sample piece of code, showing the problem? |
|
|