Posts Categorized: Netbeans

Associating template with file extension in Netbeans

Posted by & filed under IDE, Netbeans.

This is crazy – and must be a simple way – but I had to create an empty file called PHTML.phtml and “Add” in tools/templates into the PHP template folder in order to get the correct file extension when a new file is created from the template. Just could not find where to do this… Read more »

Netbeans 6.9.1 Line/Word wrap option

Posted by & filed under Netbeans.

To use the word wrap option you need to edit the /Netbeans 6.9.1/netbeans.conf file. The netbeans_default_options, usually under (# command line switches) should include the following switch: -J-Dorg.netbeans.editor.linewrap=true Once this is set, restart Netbeans and the option should now be available in Tools->Options->Editor->Formatting.