Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » More help on code templates
More help on code templates [message #142212] Thu, 31 March 2005 18:59
Eclipse UserFriend
Originally posted by: s.somani.financialcad.com

So I get eclipse to dump stuff into my files. I have defined a "headerguard"
template as follows:

#ifndef ${enclosing_project}_${file}
#define ${enclosing_project}_${file}
${cursor}
#endif

However, if I do headerguard<CTRL+SPACE> I get:

#ifndef enclosing_project_file
#define enclosing_project_file
#endif

Which is obviously *not* what I wanted... Am I doing something wrong?

Thanks.
Previous Topic:Why "Launch failed, no binaries" ......
Next Topic:make fail on a hello world opengl app
Goto Forum:
  


Current Time: Wed Sep 25 21:24:40 GMT 2024

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

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

Back to the top