Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » administrating eclipse: how to bundle custom code formatting/code templates?
administrating eclipse: how to bundle custom code formatting/code templates? [message #224979] Wed, 01 March 2006 07:11 Go to next message
Eclipse UserFriend
Originally posted by: aksel.schmidt.eu.fkilogistex.com

Hi

I want to bundle the company defined code templates and code formatting
with the eclipse installation given to new software employees.

The only solution right now is to ship the files in a mail and tell the
people to import them themselves - because this import changes the
user/workspace specific file 'org.eclipse.jdt.ui.prefs' (which embeds the
files - does not link to them as I would have liked)

Does anyone know if I could:
1. make links to external files instead (which would make updates a lot
easier)
2. make a default template/formatter for the new installations?

thanks!
/aksel
Re: administrating eclipse: how to bundle custom code formatting/code templates? [message #225005 is a reply to message #224979] Wed, 01 March 2006 09:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.eclipse.org

Aksel Schmidt wrote:

> Hi
>
> I want to bundle the company defined code templates and code
> formatting with the eclipse installation given to new software employees.
>
> The only solution right now is to ship the files in a mail and tell
> the people to import them themselves - because this import changes the
> user/workspace specific file 'org.eclipse.jdt.ui.prefs' (which embeds
> the files - does not link to them as I would have liked)
>
> Does anyone know if I could:
> 1. make links to external files instead (which would make updates a
> lot easier)
> 2. make a default template/formatter for the new installations?

You could prepare a template workspace that is fully setup.

Dani

>
> thanks!
> /aksel
>
Re: administrating eclipse: how to bundle custom code formatting/code templates? [message #225021 is a reply to message #224979] Wed, 01 March 2006 09:24 Go to previous message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
Aksel Schmidt wrote:
> I want to bundle the company defined code templates and code formatting
> with the eclipse installation given to new software employees.

Note that the formatter settings and the code templates can be set per
project and shared via source control.

You could also customize the workspace defaults using the
-pluginCustomization command line switch of eclipse.

-tom
Previous Topic:Eclipse and arrays
Next Topic:JavaCore.create() returns null
Goto Forum:
  


Current Time: Fri Apr 26 09:17:50 GMT 2024

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

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

Back to the top