Tools -> Options -> Editor -> Formatting
Language: All languages
Line wrap: Anywhere
[Apply]
Źródło: https://smallbusiness.chron.com/wrap-lines-netbeans-49331.html