Show and change line endings - plugin detail
Shows the line endings of the currently edited file and allows to change them.
| Plugin owner: |
jlahoda |
| Website: |
|
| Added: |
2011-03-03 |
| Last updated: |
2011-03-24 |
| NetBeans Versions: |
6.9, 7.0 |
| License: |
CDDL-GPL-2-CP |
| Category: |
Editing |
| Size: |
0.02 MB |
| Downloaded: |
3,701 times |
| Rating: |
|
Verifications for NetBeans versions
Decisions of individual verifiers for Show and change line endings plugin for NetBeans IDE 6.9
kudzu mcreps jpirek |
|
senthilsource jkovalsky mmirilovic |
Commentskudzu: awesome plugin!
Decisions of individual verifiers for Show and change line endings plugin for NetBeans IDE 7.0
kudzu mcreps jkovalsky jpirek |
|
senthilsource mmirilovic |
Comments
Decisions of individual verifiers for Show and change line endings plugin for NetBeans IDE 7.1
mcreps kudzu |
|
mmirilovic jpirek jkovalsky senthilsource |
Comments
|
Introduction
Shows the line endings of the currently edited file and allows to change them. The line endings of the currently edited file are show in the right side of the global status bar. The line endings can be changed by clicking at the line endings status.
What's new in this version
The change line-endings popup should be contained inside the NetBeans frame, the line-endings display names are more user friendly.
|
[ You have to be logged in to be able to comment. ]
User Comments
Must have
It should be part of Netbeans itself!
Posted by junaidpv on Feb 21, 2012
Labels (titles)
Fantastic plugin! It should be netbeans default.
I do not agree with vovtz about "Mac OS 9" label. I have Mac OS X 10 (Lion) and Microsoft Excel. When I save sheet to CSV you get CR line endings. Only when you save sheet to Windows CSV (on your Mac) you get CRLF. So the label should be "Mac (CR)".
Posted by e-mike on Dec 11, 2011
What about auto-generated code from GUI designer (.form files)
I love this plugin, but recently discovered that the NB GUI designer auto generates form files with CRLF and our existing git repository has LF line endings.
Anyone have any ideas how to handle this?
PS: We recently migrated our source from cvs to git and since have been battling eol issues. The plugin is great, but now auto-gen code appears to always create CRLF from Windows NB.
Posted by cavalleydude on Aug 30, 2011
Undo button
Thank you for this plugin - it's very useful.
Just one issue: after changing the line endings, it is not possible to revert the change with the back button. But it is not necessary to implement…
Posted by voda on Mar 29, 2011
Fixed in 1.2
My complaints for v1.1 has been fixed in v1.2, so now this plugin gets five stars from me! =)
Posted by CheeseSucker on Mar 24, 2011
Excellent plugin!
Just what netbeans was missing from the start... No more calling 'fromdos' in order to convert the windows lineendings to unix :)
Absolutely perfect!
(the aforementioned bug on the popup is confirmed)
(comment editing is possible via 'My Comments' after logging in)
Posted by kingsquare on Mar 24, 2011
At last!
Great plugin, this should have been part of netbeans from the beginning. Thank you for solving this!
I second the comments about going off-screen when maximized...
Thanks again.
Posted by dio5 on Mar 23, 2011
Re: Source code
The source code is in the Pelmel project on kenai:
http://kenai.com/projects/pelmel
Currently in the 6.9 repository:
http://kenai.com/projects/pelmel/sources/nb69/show
(module "crlf")
Posted by jlahoda on Mar 17, 2011
Souce code
Jan,
this plugin is published in some repository or is a private project? Could I have access to this?
Thanks you and congratulations for your hard work.
Posted by hmichel on Mar 17, 2011
long-awaited plugin
Finally ...
Solve one of the few missing feature in Netbeans !
Thanks
Posted by ericc on Mar 16, 2011
Friendlier labels (example reformatted)
Repeating the example for clarity:
Unix (LF)
Windows (CR LF)
Mac OS 9 and below (CR).
Posted by vovtz on Mar 14, 2011
Friendlier labels
CheeseSucker wrote:
> The comment system ate my line endings =(
Aaargh! Same here! (It says 'HTML tags OK', but maybe it should read 'Manual insertion of HTML tags necessary' :) An option to edit existing 'posts' would be welcome ...)
Posted by vovtz on Mar 14, 2011
Friendlier labels
I agree with kAlvaro that friendlier labels would be welcome, but I would like to suggest to also include the current (technical) info (perhaps between braces?). And because since 2003 all Macs use Mac OS X, which is a Unix-based OS, the friendly label for CR should read 'Mac OS 9 and before' (or something similar). Example:
- Unix (LF);
- Windows (CR LF);
- Mac OS 9 and below (CR).
Posted by vovtz on Mar 14, 2011
At last! :)
I confirm CheeseSucker's report about the off-screen menu when maximized window.
Also, it'd be nice to have friendlier labels, such as:
- Win
- Unix
- Mac
Posted by kAlvaro on Mar 11, 2011
Gah!
The comment system ate my line endings =(
Edit: Fixed my comment thanks to KinqSquare's tip ;-)
Posted by CheeseSucker on Mar 11, 2011
Useful plugin
There is a bug in the user interface. When you click to select a new line ending style, the popup list goes outside the window (and the screen when the window is maximized). Expected behaviour is for the list to stay inside the window, moving it up and left if necessary.
Also, the list stays visible if you don't click somewhere inside netbeans. If you open the list and change focus to e.g. firefox, this happens:
Still a good plugin though =)
Posted by CheeseSucker on Mar 11, 2011
awesome plugin
will it detect corrupted files with mixed up line endings? (changing the line endings changes it for the entire file, right? not only for future modifications?)
Posted by mbien on Mar 10, 2011
Re: Some documentation?
Thanks for comment Jeff. I have extended the Plugin Owner's Notes. Basically, the line endings (Unix/Win/"Mac") are shown in the IDE's global status bar, and can be changed by clicking at the current status.
Posted by jlahoda on Mar 10, 2011
Some documentation?
Jan,
It looks good but I had to guess that I needed to use the Show Non-Printable Characters feature in order to see the line endings. I am still not sure how to change them. A few lines on how to use the plugin would be a great help, IMO.
Posted by jeff_rubinoff on Mar 10, 2011
Nice Plugin
perfect plugin . It is very useful , in case you work in team projects and each person uses different OS .
Thank you
Posted by iotriado on Mar 10, 2011