title: Can you set some sort of custom code folding in Netbeans like in Visual Studio
body: <p>When working on C#, I often do this:</p>
  
  <pre><code>#region Properties
    public int Property1{get;set;}
    ...(more properties)
  #endregion
  </code></pre>
  
  <p>This makes Visual Studio add the option to fold the code inside the region.
  Offcourse, you can use regions for anything, it's not limited to Properties or anything at all.</p>
  
  <p>I'm wondering 2 things:</p>
  
  <ol>
  <li>Is this just something to make Visual Studio add code folding to an area of the editor or does it affect the compiler?</li>
  <li>Can I do something similar in Netbeans?</li>
  </ol>