Reputation: 97
usually we use "regions" in c#, but we miss that feature in typescript.
Is there some kind of grouping ?
I was reading this article(stackoverflow) and I was wondering may be something has change until now(better plugins) ?
Ty
Upvotes: 2
Views: 406
Reputation: 739
If you use VSCode (from version 1.17) you can do it like this:
//#region
and //#endregion
and //region
and //endregion
#region
and #endregion
#pragma region
and #pragma endregion
//#region
and //#endregion
#region
and #endregion
#Region
and #End Region
More about this on link: folding regions
Upvotes: 2