Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » C++ code templates
C++ code templates [message #142094] Tue, 29 March 2005 11:58 Go to next message
Eclipse UserFriend
Originally posted by: s.somani.financialcad.com

I defined a new code template:

Name: headerguard Context: C++ Global
Pattern:
#ifndef _${file}
#define _${file}
${cursor}
#endif

However, when I type headerguard, n othing seems to replace.

Sohail
Re: C++ code templates [message #142100 is a reply to message #142094] Tue, 29 March 2005 12:17 Go to previous messageGo to next message
Eclipse UserFriend
El mar, 29-03-2005 a las 08:58 -0800, Sohail Somani escribió:
> I defined a new code template:
>
> Name: headerguard Context: C++ Global
> Pattern:
> #ifndef _${file}
> #define _${file}
> ${cursor}
> #endif
>
> However, when I type headerguard, n othing seems to replace.

Please excuse me if my question is too simple, but did you trigger the
auto complete action? Usually it's bound to Ctrl-Space. So you type:
headerguard<Ctrl-SP> and it triggers the replacement.

Greetings,
--
Javier Kohen <jkohen@users.sourceforge.net>
ICQ: blashyrkh #2361802
Jabber: jkohen@jabber.org
Re: C++ code templates [message #142164 is a reply to message #142100] Wed, 30 March 2005 18:33 Go to previous message
Eclipse UserFriend
Originally posted by: s.somani.financialcad.com

"Javier Kohen" <jkohen@users.sourceforge.net> wrote in message
news:1112116660.16417.42.camel@localhost...
El mar, 29-03-2005 a las 08:58 -0800, Sohail Somani escribi
Previous Topic:Environment variable
Next Topic:CDT call gcc (Windows flavors)
Goto Forum:
  


Current Time: Fri May 09 22:45:45 EDT 2025

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

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

Back to the top