Configuring a text file line separator as Unix in the Eclipse IDE

Eclipse Indigo Service Release 2 runs on Microsoft WindowsServer 2008 R2. Now I want to set the "New file line separator" as Unix (or set the default for all workspaces) for all users.

How can we do this?

+4
source share
2 answers

Workspace: Window β†’ Settings β†’ General β†’ Workspace β†’ New line separator of a text file.

Project: Properties β†’ Resource β†’ New line separator of a text file.

+4
source

The dilimeter file I searched for individual lines of code from the obvious sharp differences in the data (for example, 1. ",", 2. ":", 3. ";", etc.). I found the answer using the following line of code:

String arr[ ] = line.split(","); OR String arr[ ] = line.split(":"); 
0
source

All Articles