Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Change of the default .h files

Code and file templates were added in 5.0.
With 4.0.1 there is no way to customize the file content.

Regards,
Toni 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Daniele Palmas
> Sent: Thursday, December 04, 2008 2:08 PM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] Change of the default .h files
> 
> Hello Toni,
> 
> First of all thanks for your response.
> 
> I'm using CDT 4.0.1 and I am not able to find that menu 
> voice. I've found code style but here I can change only the 
> profiles (e.g K&R...); I've also found the voice templates 
> (inside the submenu editor), but there I can change only 
> templates like author, class, comments... No reference to 
> header files.
> 
> Regards,
> Daniele 
> 
> 
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Leherbauer, Anton
> Sent: giovedì 4 dicembre 2008 13.53
> To: CDT General developers list.
> Subject: RE: [cdt-dev] Change of the default .h files
> 
> Hi Daniele,
> 
> you can configure file templates in the preferences under
> 
> C/C++ > Code Style > Code Templates
> 
> HTH
> Toni
> 
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx 
> > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Daniele Palmas
> > Sent: Thursday, December 04, 2008 1:37 PM
> > To: cdt-dev@xxxxxxxxxxx
> > Subject: [cdt-dev] Change of the default .h files
> > 
> > Hello,
> > 
> > I would like to customize the content of the .h file created 
> > when using
> > the menu voice File -> New -> Header File. At the moment 
> > there are added
> > only the lines:
> > 
> > #ifndef FILENAME_
> > #define FILENAME_
> > 
> > #endif /* FILENAME_*/
> > 
> > Where should I look for adding new lines?
> > 
> > Thanks in advance,
> > Daniele
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top