Skip to content

Add some region and endregion comments#8591

Open
Edvinas-Smita wants to merge 1 commit intoPathOfBuildingCommunity:devfrom
Edvinas-Smita:region-endregion
Open

Add some region and endregion comments#8591
Edvinas-Smita wants to merge 1 commit intoPathOfBuildingCommunity:devfrom
Edvinas-Smita:region-endregion

Conversation

@Edvinas-Smita
Copy link
Contributor

Add folding helpers for CalcDefence.lua, CalcOffence.lua, ConfigOptions.lua, ModParser.lua to help navigation within them.
Mostly used existing comments for the region labels.

Description of the problem being solved:

image

Usage (IntelliJ IDEA):

Code -> Folding -> Expand All to Level -> 1
image

Before screenshot:

image

After screenshot:

image

Folding comments for CalcDefence.lua, CalcOffence.lua, ConfigOptions.lua, ModParser.lua
@LocalIdentity LocalIdentity added the technical Hidden from release notes label Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Hidden from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants