java - Is there a way for NetBeans to automatically create brackets in a separate line? -
when create new class instance, this:
/*  * change template, choose tools | templates  * , open template in editor.  */  package helloworld;  /**  *  * @author sergio  */ public class wordmanipulations{         }   i hate when brackets placed way. there way make create things this:
/*  * change template, choose tools | templates  * , open template in editor.  */  package helloworld;  /**  *  * @author sergio  */ public class wordmanipulations  {  }      
simply follow these steps:
- navigate 
tools -> options -> editor - navigate 
editor -> formatting - select following  
- language: java
 - category: braces
 
 - in "class declaration, method declaration, etc."  
- braces placement: new line
 
 
Comments
Post a Comment