Make NetBeans automatically include newline at end of file?

Posted by keithjgrant on Stack Overflow See other posts from Stack Overflow or by keithjgrant
Published on 2010-04-30T23:45:11Z Indexed on 2010/04/30 23:47 UTC
Read the original article Hit count: 429

Filed under:
|
|

I just switched to NetBeans (6.8) and have noticed some of my files don't end with a newline. This has been a helpful option in other IDEs I've used, but I haven't been able to find it in the NetBeans options menus.

Is it buried in there somewhere or is there any other way to make sure it always saves files with a newline at the end? I'm coding primarily in PHP, if it's available in any of the language-specific options.

© Stack Overflow or respective owner

Related posts about netbeans

Related posts about netbeans6.8