Search code examples
visual-studio-codesettingsfold

Can you fold functions by default in visual studio code


I want to fold all the functions in my .ts file in visual studio code. Is this possible to set this default by startup?


Solution

  • I have found it: ctrl+k+à and just open the class. Now all functions are folded.