Re:Should you split that file?
by berlinquin on Friday December 01, 2023 @01:24PM
(#38490292)
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.
[ Parent
| on HN ]
Re:Should you split that file?
by smusamashah on Friday December 01, 2023 @01:29PM
(#38490371)
C# natively supports `#region <name>` and `#endregion`.
IntelliJ supports the same using comments like `//#region <name>`.