Code formatter [message #300281] |
Tue, 07 March 2006 00:19 |
Eclipse User |
|
|
|
Originally posted by: shyam_zx.yahoo.com
Hello,
Is there an option in the code formatter to Convert Line
Delimiters To LF format?
Thanks
Shyam
|
|
|
Re: Code formatter [message #300285 is a reply to message #300281] |
Tue, 07 March 2006 01:55 |
Eclipse User |
|
|
|
Originally posted by: automatic.javalobby.org
Not that I know of. However, there's Preferences -> General -> Editors -> New text file line delimiter which you can change the value of. It may be inherited by the code formatter, or not. My guess is that it's more likely to use the OS default than that property. Sounds like a reasonable enhancement request if no-one else posts a workaround to this (it may be in some other menu I'm not aware of).
Alex.
|
|
|
|
Re: Code formatter [message #300336 is a reply to message #300301] |
Tue, 07 March 2006 19:48 |
Eclipse User |
|
|
|
Originally posted by: shyam_zx.yahoo.com
I tried this out it does partially solve the problem. I am looking for a
way to change the default from windows to unix.
I am using the EMF code generator which uses the formatter for
formatting the generated code. I would like the generated code to be
formatted to UNIX type though I am running eclipse on windows. Is there
a property that I can change to set the default to unix?
Tom Eicher wrote:
> Shyam wrote:
>
>> Hello,
>> Is there an option in the code formatter to Convert Line
>> Delimiters To LF format?
>
>
> There is also the File > Convert Line Delimiters menu which you can use
> to convert the delimiters on a file or an entire folder hierarchy. You
> may have to enable that menu in the Window menu: 'Customize Perspective
> > Commands': Enabled the "Convert Line Delimiters" group.
>
> -tom
|
|
|
|
Powered by
FUDForum. Page generated in 0.03294 seconds