Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Javascript files save with ^M newline after each edited line
Javascript files save with ^M newline after each edited line [message #669869] Wed, 11 May 2011 21:41
David Hollingshead is currently offline David HollingsheadFriend
Messages: 43
Registered: January 2010
I recently lost all of my Eclipse configuration settings and had to start from scratch, but Eclipse is now saving all Javascript files with a ^M character after each edited line. It doesn't matter whether I add a line break or not. I have gone through all of the Preferences settings and nothing is disabling it.

I am on Windows 7 and the files were created in Unix UTF-8.

Here is what the diff looks like from git (I simply deleted the comma):

@@ -459,7 +459,7 @@

$.fn.siteMessage.defaults = {
type: 'info',
- animate: true,
+ animate: true^M

[Updated on: Wed, 11 May 2011 21:41]

Report message to a moderator

Previous Topic:Syntax highlighting for php files without extension
Next Topic:Configuring subdomains in Eclipse PDT & xDebug
Goto Forum:

Current Time: Wed Apr 25 14:44:37 GMT 2018

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

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