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
 Better Classwizard
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

drzoom
Ketchup Master

Switzerland
57 Posts

Posted - May 12 2006 :  04:12:06 AM  Show Profile  Reply with Quote
The current classwizard isn't very useful.

I usualy miss this things:

1. Select the destination directory for the files.
2. Use lowercase filenames for the created files.
3. Select a namespace for the new class.
4. Use a custom format for the guards.

As an example, a common header file how I would expect after a class wizard:

(It's a headerfile for the library "Foo")

=== begin src/grow/garden/tomato.h ==
#ifndef FOO_GROW_GARDEN_TOMATO_H
#define FOO_GROW_GARDEN_TOMATO_H
#prama once


#include "vegetable.h"


namespace grow {
namespace garden {


/**
* Tomato, blah
*/
class Tomato : public Vegetable
{
// ...
};


}
}


#endif
=== end ==


=== begin src/grow/garden/tomato.cpp ==
#include "pch.h"
#include "tomato.h"


namespace grow {
namespace garden {


Tomato::Tomato()
: Vegetable()
{
}


// ...


}
}
=== end ===

best regards
Tobias

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - May 15 2006 :  5:31:33 PM  Show Profile  Reply with Quote
have you looked into the autotext feature in VA?

http://www.wholetomato.com/products/features/autotext.html?more=yes

it will not create the files for you, but with a bit of care it can do most of the rest of what you want. since you are free to edit and tweak the autotext rules as much as you like you can get the exact formatting that you are after.

most of the changes you seem to be after here are formatting, and the problem with this is that different people have different views and opinions. it is basically impossible to please everyone without making something that is incredibly flexible.

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