This extension allows you to collapse decorators on your classes/functions. This should probably work for other languages as well, but is currently scoped to Typescript only.
Enable auto-folding on file open
Choose to toggle all decorators, or just the ones defined by folding-decorators.customSelector
Define a RegEx-like selector to only collapse certain decorators.
Set a delay for setting the folding ranges.
Since the VSCode API only offers Import, Comment and Region as FoldingRangeKind and does not allow to define custom ones, this extension uses Region. So if you use // #region markers in your code, those will be folded as well.