chore(build): group source files into concern folders #2

Merged
mikkel merged 1 commit from chore/organize-source-folders into main 2026-07-13 18:39:23 +02:00
Owner

Group the ~40 flat root .cs files into concern folders (Core/ Match/ Veto/ Practice/ Pause/ Coach/ Stats/ Config/ Menus/ Integrations/ Commands/ Util/).

Pure organization — zero compile/runtime impact:

  • Still one namespace MatchZy partial class; folder path carries no namespace meaning.
  • .csproj has no <Compile Include>, so the SDK-default recursive **/*.cs glob auto-picks-up every subfolder — no project edit needed.
  • Output DLL unchanged; dotnet build -c Release = 0 warn / 0 err.
  • All moves via git mv → blame/history preserved.

.editorconfig added — disables IDE0130 / dotnet_style_namespace_match_folder so the IDE won't rewrite the namespace to match the new folder path (every file must stay in namespace MatchZy for the partial class to merge).

Group the ~40 flat root `.cs` files into concern folders (`Core/ Match/ Veto/ Practice/ Pause/ Coach/ Stats/ Config/ Menus/ Integrations/ Commands/ Util/`). **Pure organization — zero compile/runtime impact:** - Still one `namespace MatchZy` partial class; folder path carries no namespace meaning. - `.csproj` has no `<Compile Include>`, so the SDK-default recursive `**/*.cs` glob auto-picks-up every subfolder — no project edit needed. - Output DLL unchanged; `dotnet build -c Release` = 0 warn / 0 err. - All moves via `git mv` → blame/history preserved. **`.editorconfig` added** — disables IDE0130 / `dotnet_style_namespace_match_folder` so the IDE won't rewrite the namespace to match the new folder path (every file must stay in `namespace MatchZy` for the partial class to merge).
The ~40 flat root .cs files are now grouped into readability folders
(Core/ Match/ Practice/ Stats/ Config/ Menus/ Integrations/ etc.).

Pure organization, zero compile/runtime impact: the plugin is still one
`namespace MatchZy` partial class, and the .csproj has no <Compile Include>
so the SDK-default recursive **/*.cs glob picks up every subfolder with no
project edit. The output DLL is unchanged.

Add .editorconfig to disable IDE0130 / dotnet_style_namespace_match_folder
so the IDE won't rewrite the namespace to match the new folder path -- every
file must stay in `namespace MatchZy` for the partial class to merge.

Update CLAUDE.md architecture map to the foldered layout.
mikkel merged commit a6abae5d4b into main 2026-07-13 18:39:23 +02:00
mikkel deleted branch chore/organize-source-folders 2026-07-13 18:39:27 +02:00
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikkel/matchzy-old!2
No description provided.