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.
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.
I found this plugin for Netbeans 8: http://plugins.netbeans.org/plugin/56323/eof-line-feed
After my own research and lack of any solutions from others, I come to the conclusion that this is impossible.
For current versions of NetBeans there is the "No Newline Resolver" plugin that can be installed through the plugin manager or downloaded here:
https://plugins.netbeans.apache.org/catalogue/?id=33
https://github.com/junichi11/netbeans-nonewline-resolver
Configuration can be found at: Options > Miscellaneous > No Newline Resolver
Sounds like you need to edit your file template to include the newline.