title: NetBeans IDE - How do i make indent lines, where i have largest and longest if while for brakets, can not find start and end now
body: <p>I have my <code>Java/C</code> code running in NetBeans IDE. Where i have some mess algorithms which is like largest/longest something like following:</p>
  
  <pre><code>if () { 
   while() {
     for() { 
     }
   }
  } elseif( ) {
   for() {
     while() { 
       for() {
       }
     }
   }
  } elseif( ) {
   do {
    for () {  
      if() { 
      } else { 
      }
    }
   } while() ; 
  } elseif( ) {
    switch() {
     if(a.starsWith()) { 
      for() {
       do {
        for() {
         if() {
         } elseif() {
         } else { 
           switch() {  }
         }
        }
       } while();            
      }
     }
    } 
  } elseif( ) {
  } elseif( ) {
  } elseif( ) {
  }
  </code></pre>
  
  <p>Therefore, to find out how do i get this following type of indent highlighted lines?</p>
  
  <p><img src="https://i.stack.imgur.com/mJYQH.jpg" alt="enter image description here"></p>