Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » new variable for code assist and acces to global variabel
new variable for code assist and acces to global variabel [message #71338] Fri, 23 May 2003 13:43 Go to next message
Eclipse UserFriend
Originally posted by: hxbx.gmx.net

hallo,

1) is it possible to define a new variable, like "owner" for the code
assist?
I want to insert this new variable as ${owner} into
a new template for the code assist, for example for a procedure header.
Is there a way to read in some variable from a file?

2) if I insert global eclipse variable like ${resource_name} into a code
template it dosnt work? Why?

thanks

harald
Re: new variable for code assist and acces to global variabel [message #75014 is a reply to message #71338] Sat, 05 July 2003 18:40 Go to previous message
Thomas Fletcher is currently offline Thomas FletcherFriend
Messages: 7
Registered: July 2009
Junior Member
"harald" <hxbx@gmx.net> wrote in message news:bal8ht$krq$1@rogue.oti.com...
> hallo,
>
> 1) is it possible to define a new variable, like "owner" for the code
> assist?
> I want to insert this new variable as ${owner} into
> a new template for the code assist, for example for a procedure header.
> Is there a way to read in some variable from a file?
>
> 2) if I insert global eclipse variable like ${resource_name} into a code
> template it dosnt work? Why?

1) Can't create your own variables yet

2) Likely just a carry over since the CDT code base hasn't caught up to
the Eclipse 2.0 and 2.1 features (codebase originated on 1.0).

Thomas
Previous Topic:Stuck at "Run..." configuration dialog
Next Topic:best IDE for C++
Goto Forum:
  


Current Time: Fri Apr 26 13:27:49 GMT 2024

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

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

Back to the top