[通常你可以添加一个空格,例如// region and // endregion到//region and //endregion,它也可以工作。
TypeScript/JavaScript: //#region and //#endregion or // #region and // #endregionC#: #region and #endregionC/C++: #pragma region and #pragma endregionF#: //#region and //#endregionPowerShell: #region and #endregionPython: #region and #endregionVB: #Region and #End RegionPHP: #region and #endregionBat: ::#region and ::#endregion or REM #region and REM #endregionMarkdown: <!-- #region --> and <!-- #endregion -->Golang //region and //endregion or //#region and //#endregionJava //#region and //#endregionCSS/SCSS/Less: /* #region */ and /* #endregion */ or /*#region*/ and /*#endregion*/SCSS/Less: // #region and // #endregionGo: // region, // endregion and // #region, // #endregionshellscript: # region and # endregionPerl5 #region and #endregion or =pod and =cutsql --#region and --#endregion