Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CR/LF
CR/LF [message #284104] Mon, 18 April 2005 15:21 Go to next message
Jochen Witte is currently offline Jochen WitteFriend
Messages: 3
Registered: July 2009
Junior Member
Hello,

I need to edit my files on Windows with UNIX eol style. How do I achieve
this?

Regards
Jochen
Re: CR/LF [message #284113 is a reply to message #284104] Mon, 18 April 2005 17:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Jochen Witte wrote:
> Hello,
>
> I need to edit my files on Windows with UNIX eol style. How do I achieve
> this?
>
> Regards
> Jochen

Wordpad? not sure about creating new ones. There is an option in CVS to
preserve eol stype I believe. Perhaps the editor has one as well.

Cl
Re: CR/LF [message #284119 is a reply to message #284113] Mon, 18 April 2005 20:34 Go to previous messageGo to next message
Jochen Witte is currently offline Jochen WitteFriend
Messages: 3
Registered: July 2009
Junior Member
CL [dnoyeb] Gilbert schrieb:
> Jochen Witte wrote:
>
>> Hello,
>>
>> I need to edit my files on Windows with UNIX eol style. How do I
>> achieve this?
>>
>> Regards
>> Jochen
>
>
> Wordpad? not sure about creating new ones. There is an option in CVS to
> preserve eol stype I believe. Perhaps the editor has one as well.
>
> Cl


Hm - is there no option for Eclipse?

Jochen
Re: CR/LF [message #284121 is a reply to message #284104] Mon, 18 April 2005 23:19 Go to previous messageGo to next message
Genady Beryozkin is currently offline Genady BeryozkinFriend
Messages: 410
Registered: July 2009
Senior Member
By default Eclipse preserves the \n style of files it opens.
However if you create a new file, it will use the system's default.

You can change the newline char of a file at any time from within
eclipse (i think it's under the Edit menu)

Genady

Genady Beryozkin
http://www.genady.net/



Jochen Witte wrote:

> Hello,
>
> I need to edit my files on Windows with UNIX eol style. How do I
> achieve this?
>
> Regards
> Jochen
Re: CR/LF [message #284126 is a reply to message #284119] Mon, 18 April 2005 22:54 Go to previous messageGo to next message
Ross P. Davis is currently offline Ross P. DavisFriend
Messages: 8
Registered: July 2009
Junior Member
On Mon, 18 Apr 2005 22:34:14 +0200, Jochen Witte <devnull@alpha-lab.net>=
=

wrote:

> CL [dnoyeb] Gilbert schrieb:
>> Jochen Witte wrote:
>>
>>> Hello,
>>>
>>> I need to edit my files on Windows with UNIX eol style. How do I =

>>> achieve this?
>>>
>>> Regards
>>> Jochen
>> Wordpad? not sure about creating new ones. There is an option in C=
VS =

>> to preserve eol stype I believe. Perhaps the editor has one as well.=

>> Cl
>
>
> Hm - is there no option for Eclipse?
>
> Jochen

If anyone knows of such an option for Eclipse please let me know. The =

closest thing I've been able to find is Source->Convert Line Delimiters =
To

That option would be really useful if you could apply it to more than on=
e =

file at once. Also useful would be an option like "Always Use UNIX =

Newlines, No Matter What Happens".

ross
Re: CR/LF [message #284215 is a reply to message #284119] Tue, 19 April 2005 20:19 Go to previous message
Eclipse UserFriend
Originally posted by: neil.neil.swingler.name

Jochen Witte wrote:
> CL [dnoyeb] Gilbert schrieb:
>
>> Jochen Witte wrote:
>>
>>> Hello,
>>>
>>> I need to edit my files on Windows with UNIX eol style. How do I
>>> achieve this?
>>>
>>> Regards
>>> Jochen
>>
>>
>>
>> Wordpad? not sure about creating new ones. There is an option in CVS
>> to preserve eol stype I believe. Perhaps the editor has one as well.
>>
>> Cl
>
>
>
> Hm - is there no option for Eclipse?
>

Vote for:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=3970
4th most voted for bugzilla entry

--
Neil Swingler
Previous Topic:Exporting Plugin Classpath to Launch Configuration
Next Topic:newline character in windows/unix
Goto Forum:
  


Current Time: Thu Apr 25 04:02:13 GMT 2024

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

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

Back to the top