Code Folding

I have Visual Studio 2019. There is no preferences. How do I enable code folding?

Thanks

Hi Alan,

Could you share a screenshot of what you see in VS 2019, please? Have you placed the cursor on a method? It might be that the option to fold the code fades in on the left side.

I did try to place the cursor over the method. I even right click for other options. Couldnt find anything.

Maybe I misunderstood you but have you already tried to click on the minus?

image

If that’s not what you were looking for, do you have an example of “code folding”?

HAHA didnt even think about that. Sorry I’m new to this lol. Thank you very much!!

Don’t worry. I’m glad the solution was so easy. :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms