Formatter [message #259884] |
Wed, 29 April 2009 06:23  |
Eclipse User |
|
|
|
Hi,
I have created a formatter.xml in for eclipse. Instead of importing the
xml everytime, is there a way to load this formatter.xml during the
eclipse startup?
Please advice.
Thanks in advance,
Lloyd Lamington
|
|
|
|
|
|
|
|
Re: Formatter [message #260085 is a reply to message #260035] |
Mon, 11 May 2009 11:08  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Lloyd Lamington wrote:
> i have created a plugin that has org.eclipse.ui.startup extension. in
> the earlyStartup() method, what should i do so that my-formatter.xml
> gets loaded as the formatter? Please advice.
Did you even read what I wrote (quoted below)? I would definitely
recommend against using an auto-start plug-in to do this.
Eric
> Eric Rizzo wrote:
>
>> Lloyd Lamington wrote:
>>> yes. it has to be done only once.. but whenever we switch workspace,
>>> the formatter seems to change and also, we dont want the developers
>>> to keep changing it. We need to preset it to the formatter that
>>> complies with the coding standards in our organization.
>
>> Note: please quote at least part of the message when replying, so that
>> everyone sees the context of the discussion.
>
>> Have you looked into using project-specific settings that are checked
>> in? Each project can control many aspects of the preferences,
>> including formatting I think, and those get saved in the .settings
>> directory under the project; that directory can be checked in to CVS
>> (or whatever version control you use) and Eclipse will honor them on
>> all installations that check out the project.
>
>> Hope this helps,
>> Eric
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04346 seconds