- This topic has 4 replies, 3 voices, and was last updated 20 years, 4 months ago by
Hendie Dijkman.
-
AuthorPosts
-
AndrewSawczynMemberThis is more of an Eclipse question… Is there a way to change the default line delimiters to Unix (LF) from DOS (CR/LF)? I’m using My Eclipse 3.7 on Windows. When I create a file in Eclipse, it defaults to CR/LF which tends to bug others on my team since they work in Unix.
February 17, 2004 at 7:24 am #203454
Riyad KallaMemberAndrew,
I believe that Eclipse will pickup and use the line delimiters in a file the way it finds them, so you should only need to do this change once per file:
Source>Convert Line Delimiters To>UNIXHope that helped.
February 22, 2005 at 4:51 pm #225601
Hendie DijkmanMemberRiyad,
I am having problems with line delimiters too:
Linux RedHat 8.0
Eclipse 3.0.1 build 200409161125
– Eclipse freshly installed for MyEclipse
– Other plugin installed : Rational ClearCase SCM Adapter 6.0.25
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
* org.eclipse.pde_3.0.1
* org.eclipse.pde.build_3.0.1
* org.eclipse.pde.core_3.0.1
* org.eclipse.pde.doc.user_3.0.0
* org.eclipse.pde.junit.runtime_3.0.0
* org.eclipse.pde.runtime_3.0.1
* org.eclipse.pde.source_3.0.1
* org.eclipse.pde.ui_3.0.1
MyEclipse 3.8.4
JDK version to run Eclipse 1.5.0_01
JDK version to launch application server 1.4.2_07
Application server: Tomcat 4.1.31
No exceptions in the Eclipse log fileMy problem is that I set the Line Delimiter in MyEclipse->Editors->XML to Windows, and even WITH a Windows formatted .xml file (crlf’s at end of lines), any new lines that I add, end up with only lf’s in them. I checked by opening the .xml file outside of Eclipse with vi (after saving it with the ME XML Editor).
Please advise?
February 22, 2005 at 4:53 pm #225604
Riyad KallaMemberHendie,
What happens when you convert the EOL delimiters as noted above? Then does it honor them?February 22, 2005 at 5:23 pm #225606
Hendie DijkmanMemberNo .. I assume you are referring to your answer to Andrew. No, that didn’t help either.
-
AuthorPosts