Reputation: 44831
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.
Upvotes: 6
Views: 1642
Reputation: 1068
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
Upvotes: 0
Reputation: 1209
I found this plugin for Netbeans 8: http://plugins.netbeans.org/plugin/56323/eof-line-feed
Upvotes: 3
Reputation: 44831
After my own research and lack of any solutions from others, I come to the conclusion that this is impossible.
Upvotes: 1
Reputation: 1785
Sounds like you need to edit your file template to include the newline.
Upvotes: 0