Community
Participate
Working Groups
N20050523 As described in bug 3970, we should use the platform preference to get the line separator for new files.
Added org.eclipse.jdt.internal.core.Util#getLineSeparator(...) that gets the line separator from the given source if any, then defaults to the project preference, then to the workspace preference, then to the system line separator. Changed JDT Core code to use this new helper.
Verified in i20050527-0010