NetBeans Plugin for Changing Line Endings
Join the DZone community and get the full member experience.Join For Free
A number of NetBeans users, especially PHP developers, have been asking for the ability to change line separator types between Windows, Unix, and MacOS formats. See Issue 72515 for a brief history of this request.
Well, you'll be happy to know that Jan Lahoda has created a plugin for NetBeans IDE 6.9 and 7.0 that shows and lets you change the line endings of the file you are working on. You can download the plugin from the NetBeans plugin portal. To install the downloaded plugin:
- Launch NetBeans.
- Go to Tools > Plugins.
- Open the Downloaded tab.
- Click Add Plugins. A file system explorer opens.
- Browse for the downloaded plugin. Select it and click Open. The file system explorer closes and the plugin appears in your plugins window.
- Make sure the plugin is selected and click Install.
After you install the plugin, open a file to edit. On the right side of the global status bar, at the bottom of the IDE, you can see the line ending style of the file. To change the line endings of the file, click the line ending and select a new style of line ending.
Opinions expressed by DZone contributors are their own.