Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to make NetBeans ensure a newline at the end of a file?

I couldn't find this option in the settings, nor could I find a plugin solving this problem. I googled a lot. Maybe I missed something. Does anyone know how to do it?

If it matters, I'm using NetBeans 7.1 Beta.

like image 897
Elnur Abdurrakhimov Avatar asked Nov 06 '11 16:11

Elnur Abdurrakhimov


2 Answers

I found this plugin for Netbeans 8: http://plugins.netbeans.org/plugin/56323/eof-line-feed

like image 120
LinusR Avatar answered Sep 23 '22 10:09

LinusR


After my own research and lack of any solutions from others, I come to the conclusion that this is impossible.

like image 20
Elnur Abdurrakhimov Avatar answered Sep 23 '22 10:09

Elnur Abdurrakhimov