In netbeans in the code of a project, when you press: Control + Shift + F Reorder the code automatically, but reorder it in this way:
try{
if(1>2){
} else {
}
}catch(Exception e){
}
My doubt comes, in that if there is no way in the configurations or make a command to order it in this way, adding the line break:
try
{
if(1>2)
{
}
else
{
}
}
catch(Exception e)
{
}