6

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.

Elnur Abdurrakhimov
  • 44,533
  • 10
  • 148
  • 133

4 Answers4

3

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

LinusR
  • 1,149
  • 10
  • 17
1

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

Elnur Abdurrakhimov
  • 44,533
  • 10
  • 148
  • 133
  • this may just be the worst answer out there :) – AO_ Nov 06 '13 at 10:39
  • Trying to find out the same thing... Is this something that could be done with a plugin or anything similar? Kinda of a PITA to have to remember to put the line on there each time... – Slickrick12 Jun 13 '14 at 17:19
  • There is a plugin called "EOF Line Feed" which does just that, and can be installed simply through Tools > Plugins > Available Plugins. (http://plugins.netbeans.org/plugin/56323/eof-line-feed) – dpi Aug 21 '16 at 12:00
0

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

Marcel Pfeiffer
  • 1,018
  • 11
  • 12
0

Sounds like you need to edit your file template to include the newline.

Daniel Pereira
  • 1,785
  • 12
  • 10