Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

NetBeans Plugin for Changing Line Endings

DZone's Guide to

NetBeans Plugin for Changing Line Endings

· Java Zone ·
Free Resource

Verify, standardize, and correct the Big 4 + more– name, email, phone and global addresses – try our Data Quality APIs now at Melissa Developer Portal!

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:

  1. Launch NetBeans.
  2. Go to Tools > Plugins.
  3. Open the Downloaded tab.
  4. Click Add Plugins. A file system explorer opens.
  5. Browse for the downloaded  plugin. Select it and click Open. The file system explorer closes and the plugin appears in your plugins window.
  6. 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.

Line ending on global status bar

Developers! Quickly and easily gain access to the tools and information you need! Explore, test and combine our data quality APIs at Melissa Developer Portal – home to tools that save time and boost revenue. 

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}