Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » File Header Template
File Header Template [message #165500] Wed, 08 March 2006 21:05 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: July 2009
Junior Member
I'd like the ability to create a File Header on every C/C++ file that I
generate using the CDT. The JDT allows me to do this easily. I haven't
found a way to do it in the CDT.

is there any way to do this?
Re: File Header Template [message #165568 is a reply to message #165500] Thu, 09 March 2006 08:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arne.anka.ginguppin.de

file an enhancement request.

On Wed, 08 Mar 2006 22:05:43 +0100, Ronak <ronak.patel@baesystems.com>
wrote:

> I'd like the ability to create a File Header on every C/C++ file that I
> generate using the CDT. The JDT allows me to do this easily. I haven't
> found a way to do it in the CDT.
>
> is there any way to do this?
>
Re: File Header Template [message #165656 is a reply to message #165568] Fri, 10 March 2006 03:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sscout.gmpexpress.net

arne anka wrote:
> file an enhancement request.
>
> On Wed, 08 Mar 2006 22:05:43 +0100, Ronak <ronak.patel@baesystems.com>
> wrote:
>
>> I'd like the ability to create a File Header on every C/C++ file that
>> I generate using the CDT. The JDT allows me to do this easily. I
>> haven't found a way to do it in the CDT.
>>
>> is there any way to do this?
>>
>

Open your Preferences, and look in C/C++ -> Editor -> Templates. You
should be able to create the framework for a header here, and use a
quick keystroke completion to fill it in automatically and then make
minor changes by hand.

Shawn
Re: File Header Template [message #1071359 is a reply to message #165656] Fri, 19 July 2013 23:16 Go to previous message
Jess Vriesema is currently offline Jess VriesemaFriend
Messages: 2
Registered: July 2013
Junior Member
Thanks for posting the question. I was also struggling with this, and found your post.

I found a solution and posted it on StackOverflow. Here's the link (sorry that it's chopped up with spaces, but I can't post URLs because I'm new).

http:// stackoverflow.com / questions/3285359/eclipse-cdt-new-class-template/17756834#17756834

Hope this helps the OP (or any future wanderers!).
Cheers.
Previous Topic:Customizing eclipse CDT c++ new class template
Next Topic:Problem in eclipse on fedora 19
Goto Forum:
  


Current Time: Sun Jul 15 18:50:28 GMT 2018

Powered by FUDForum. Page generated in 0.02026 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top