Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Adding variables to Java editor templates?
Adding variables to Java editor templates? [message #240369] Fri, 02 February 2007 23:45 Go to next message
Eclipse User
Originally posted by: fakeaddress.brainkandy.org

Hello,

I am looking to add a new template variable, with the intent of it being
available with the Java template resolver.

To be honest, I'm actually looking to register the variable with all
templates, but if I can get it integrated with Java, that would be swell.

For instance, I would like to inject a ${foo.name} variable (the foo
prefix is an intentional namespace to prevent variable name clash), and
then push custom templates to my colleague's workspace with a preference
import.

What recommendations do you have?

Thanks, Robert
Re: Adding variables to Java editor templates? [message #240374 is a reply to message #240369] Fri, 02 February 2007 23:47 Go to previous messageGo to next message
Eclipse User
Originally posted by: fakeaddress.brainkandy.org

Robert Konigsberg wrote:
> Hello,
>
> I am looking to add a new template variable, with the intent of it being
> available with the Java template resolver.
>
> To be honest, I'm actually looking to register the variable with all
> templates, but if I can get it integrated with Java, that would be swell.
>
> For instance, I would like to inject a ${foo.name} variable (the foo
> prefix is an intentional namespace to prevent variable name clash), and
> then push custom templates to my colleague's workspace with a preference
> import.
>
> What recommendations do you have?
>
> Thanks, Robert
I see this was just brought up recently. I'll go find the thread and
continue there.
Re: Adding variables to Java editor templates? [message #1005515 is a reply to message #240374] Fri, 25 January 2013 19:51 Go to previous message
Joseph Carroll is currently offline Joseph Carroll
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

Did you ever figure out how to accomplish this?

Thanks,

JD
Previous Topic:Mark Occurrences and Write Occurrences checked as highlighted NOT working
Next Topic:Add Interface Type to Class type
Goto Forum:
  


Current Time: Wed Sep 24 00:36:52 GMT 2014

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

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