Region pragma
The pragma is used to consolidate multiple lines in a text editor to a block. The block can be assigned a name. Region pragmas can be nested.
Syntax: {region "description"} … {endregion}
Be sure to follow this syntax so that the pragma is taken into account.
Code with region pragma: Extended and reduced view
The pragma can be used in the ST editor and all declaration editors. Syntax highlighting can be adapted in the options.