Answer the question
In order to leave comments, you need to log in
How to hide part of code in Visual Studio Code?
Previously, I had [+] next to the methods in my code, I write in C #, by clicking on them, the methods were hidden (one name remained), it’s convenient, but now they are gone and I can’t collapse, I read in the search that this action can be performed by selecting the text and by pressing Ctrl+M and open Ctrl+H, but nothing happens...
Tell me how to return these [+] or how to hide pieces of code?
Answer the question
In order to leave comments, you need to log in
Try to enclose pieces of code in
#region Свойства
public string Name{get;set;}
#endregion
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question