Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Custom class template for New C++ Class toolbar button?: (3 Items)
   
Custom class template for New C++ Class toolbar button?  
Is there a way to get the Momentics CDT to use a custom template for the .h/.cpp files created by the New C++ Class 
button on the toolbar? 

I use that button quite a bit to create new classes, but always have to add/moves things around to match my company's 
coding policy (legalese header, private default constructor, etc...). It'd be great if I could plug a custom template 
into the CDT and have that stuff done for me...

Thanks,

Mike
RE: Custom class template for New C++ Class toolbar button?  
There was some work around it. Please check CDT pr
https://bugs.eclipse.org/bugs/show_bug.cgi?id=88390.

CDT has a user interface to edit template in version CDT 5 which is not
included in momentics IDE, current version that IDE Tau 4.5 supports is CDT
4.0.2. Looks like it may support it in some programmatic way but I could not
find documentation on that
Re: RE: Custom class template for New C++ Class toolbar button?  
Thanks! Looks like I'm going to have to wait for Momentics to use version 5 of the CDT for the real thing, but I've 
created a couple of Editor templates to get the job done in the meantime. 

Really appreciate the response. Thanks again...

Mike