Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to set the return character to UNIX instead of windows?
How to set the return character to UNIX instead of windows? [message #171295] Sun, 17 September 2006 10:44 Go to next message
Eclipse UserFriend
Originally posted by: edward.tanguay.info

I am editing ruby files that need a UNIX return character (\r) in order to
run on a linux server. How do I force eclipse to use \r instead of the
windows \r\n?

Thanks,

Edward Tanguay
All my projects: http://www.tanguay.info
Re: How to set the return character to UNIX instead of windows? [message #171312 is a reply to message #171295] Sun, 17 September 2006 12:33 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Edward wrote:
> I am editing ruby files that need a UNIX return character (\r) in order
> to run on a linux server. How do I force eclipse to use \r instead of
> the windows \r\n?
>
> Thanks,
>
> Edward Tanguay
> All my projects: http://www.tanguay.info
>

From the File menu, select "Convert Line Delimiters to", and then "Unix".

HTH!
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, Platform Project (JVMTI Profiler)
Re: How to set the return character to UNIX instead of windows? [message #171362 is a reply to message #171295] Mon, 18 September 2006 07:44 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Edward wrote:

> I am editing ruby files that need a UNIX return character (\r) in
> order to run on a linux server. How do I force eclipse to use \r
> instead of the windows \r\n?

You can set this per workspace (via preferences) or per project (via
properties).

Dani

>
> Thanks,
>
> Edward Tanguay
> All my projects: http://www.tanguay.info
>
Previous Topic:Installing Eclipse on RHEL4 GNU/Linux
Next Topic:Converting an Eclipse Project to a Jar
Goto Forum:
  


Current Time: Thu Apr 25 11:40:37 GMT 2024

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

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

Back to the top