The version of NetBeans that I use is 6.5.1
相关问题
- Step by step instructions for getting cppunit up a
- org.jdesktop.application package doesn't exist
- Don't want netbeans debugger to go to disassem
- using rmic in netbeans
- netbeans unable to resolve identifier c_str
相关文章
- Java: Look and Feel
- C++ compiler error in netbeans
- How to escape @ sign inside JSDoc comments in NetB
- php: auto indent the whole code?
- JSON.parse with newline [duplicate]
- Python thinks a 3000-line text file is one line lo
- Create src/test/resources in Maven Netbeans 8.x wi
- Stop Tomcat when run inside of Netbeans
Quoted from the Netbeans Wiki:
NetBeans editor respects the line separator used in an existing file. It reads the file into an editor document instance in the following way:
First line of the file is read and the line separator type is determined - it is expected to be one of
The line separator type is remembered in the document instance for future save operation.
Note: If there would be a mixture of line separators of multiple types throughout the file then only the line separator type from the original first line will be used upon save.
For new files (constructed from templates) the editor uses platform-default line separator.
Update:
As of Netbeans 7.3 there is a new change-line-endings-on-save plugin that allows you to configure line endings globally or per-project.
Install http://plugins.netbeans.org/plugin/36810/show-and-change-line-endings in netbean and it will show the line break in bottom right task bar inside netbean also you can switch between Windows, Linux and Mac.
Please use this netbeans plugin
http://plugins.netbeans.org/plugin/36810/show-and-change-line-endings