2 ms·
Have been using a version of this recently: with C++ in Visual Studio you can add `#pragma region X` that will let you expand/collapse regions of code in the sa
by berlinquin 3y ago
Have been using a version of this recently: with C++ in Visual Studio you can add `#pragma region X` that will let you expand/collapse regions of code in the same file. Can be useful for top-level organization.
- smusamashah 3y agoC# natively supports `#region <name>` and `#endregion`. IntelliJ supports the same using comments like `//#region <name>`.
- cglong 3y agoTypeScript IDEs also typically support this via `// #region <name>` and `// #endregion`.