I was using Netbeans earlier and now switched to Visual Studio Code.
There is a feature in netbeans to collapse code block by default. Below is a syntax for that
//<editor-fold defaultstate="collapsed" desc="Your Description">
.... pieces of code ....
//</editor-fold>
Is there any similar feature or extension available in Visual studio Code?
I searched on google and got below link which is 7 years old. Visual Studio (2012) - Collapse methods by default? Is anybody aware if such feature is available in VS Code?