How to fold subroutines in VScode? I am reading Fortran code in VScode, which contain the main program and many subroutines. The VScode can also fold codes but seem randomly. How to make VScode recognize the entire subroutine and fold it?
perhaps change some setting or install some plugin?