EXPLICACIÓN | SECUENCIA | RESULTADO |
Cómo auto-insertar bloque try catch. | try { } ca + <tab> | try{
} catch (Exception ex) { |
Cómo auto-insertar get & set | Ctrl + Ins -> Abre diálogo para auto insertar y selecciona get & set o sólo get, o sólo set. | public x getX(){ return this.x; } public setX(X x){ |
Cómo auto-insertar constructores | Ctrl + Ins Seleccionamos constructores | public nombreClase(){
} |
Shortcut public | pu +<tab> | public |
Shortcut nombre de clases | TMC + <Control><space> | TableModelColumn Si escribes las mayúsculas te busca los ficheros que coinciden dichas mayúsculas o tienen más a la derecha. |
Shortcut throws | th + <tab> | throws |
Shortcut exception | Ex + <tab> | Exception |
Shortcut false | fa + <tab> | False |
Shortcut interface | in + <tab> | interface |
Shortcut private | pr + <tab> | private |
Cómo auto-insertar bloque if | if + <tab> |
if (true) {
} |
Shortcuts Netbeans / Trucos de escritura Netbeans
2