Change Line Endings on Save - plugin detail

change line endings on save/create

NetBeans Plugin - Change Line Endings on Save
Plugin owner: junichi11
Website: https://github.com/junichi11/netbeans-change-lf
Added: 2013-02-08
License: CDDL-GPL-2-CP
Category: Editing
Downloaded: 8,933 times
Rating:
 4.49, by 9 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.04 MB   Last Update: 2016-10-13

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

No changes from NB81.

Verifications for NetBeans versions

8.2 verification PASSED See verification details
Download plugin   Download size: 0.04 MB   Last Update: 2015-10-15

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

0.6.0

  • Fix dependencies
  • Minor changes


Verifications for NetBeans versions

8.1 verification PASSED See verification details
Download plugin   Download size: 0.04 MB   Last Update: 2015-10-15

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version



Verifications for NetBeans versions

8.0 verification PASSED See verification details
Download plugin   Download size: 0.04 MB   Last Update: 2013-11-30

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

  • Change icons


Verifications for NetBeans versions

7.4 verification PASSED See verification details
Download plugin   Download size: 0.04 MB   Last Update: 2013-05-19

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Change plugin name from ChangeLF to Change Line Endings on Save.

Verifications for NetBeans versions

7.3 verification PASSED See verification details


Introduction

Change line endings(LF, CRLF, CR) on save/create.
If line endings of current file is not your settings, change to your settings.

Settings

Global settings

Tools > Options > Editor > Line Endings
Please check "enable" and choose kind of line endings.

Project settings

project properties > Line Endings
Please select global or project. You can also change "enable" with LF|CR|CRLF button on Toolbar.

Issues

If you have some problem, please submit it to issue of github repository.
issue of github repo

History

  • 0.1 : create plugin
  • 0.2 : provide api for other modules
  • 0.3 : add options to project properties
  • 0.3.1 : fix a few issues
  • 0.4.0 : change plugin name, fix some issues, add icons for cr and crlf
  • 0.4.2 : fix #8
  • 0.4.3 : fix #9
  • 0.4.4 : fix #10
  • 0.5.0 : change icons

[ You have to be logged in to be able to comment. ]

User Comments

  

RE: Not working?

@vee

Could you submit it to GitHub Issues with your exact steps[1]?

[1] https://github.com/junichi11/netbeans-change-lf/issues

Thanks.
Posted by junichi11 on Jan 25, 2016
  

Not working?

I'm using Netbeans 8.1.
When open php file that was saved with Windows line ending, I change the file content and save. My option is set to Unix line ending my project option use global option.
But... it was not changed. It is still Windows line ending. I have to use this plugin which is working. I can change line ending and save.
http://plugins.netbeans.org/plugin/36810/show-and-change-line-endings
Posted by vee on Jan 25, 2016
  

Great idea

Hi. I read this article: http://gualtierotesta.wordpress.com/2014/02/02/netbeans-plugin-for-file-line-endings/ - Is it also possible to change the line endings for a HTML5 project in NetBeans? Because there I cannot finde the option "Line Endings".
Posted by bennyn on Oct 13, 2014
  

RE: NB 8

Sorry for inconvenience. I'll add new nbm soon. Probably, you can also use nbm for 74 in NetBeans8.0.

Thanks.
Posted by junichi11 on Mar 19, 2014
  

NB 8

Great plugin. When will be supported NetBeans 8 version (today released :-) )? Thank's.
Posted by matej on Mar 19, 2014
  

Good

Good and useful. Thanks.
Posted by gualtiero65 on Jan 30, 2014
  

Works nicely!

Appears to work just great. Unlike the other line-ending plugin this one will set the line ending when you create a new file. Combining the two line ending plugins together is a good idea, as the other one allows for quick switching.

Very useful when you're working on a mounted Unix drive in Windows and things start getting quirky when you run code on Unix that was written in Windows and it constantly adds and removes Windows line endings.
Posted by TiE23 on Nov 08, 2013
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo