Skip to content

Conversation

@ignatandrei
Copy link
Owner

@ignatandrei ignatandrei commented Oct 4, 2025

Summary by CodeRabbit

  • New Features
    • Added a new RapidEnum example, including a runnable demo, guided tour, and video script.
  • Documentation
    • Introduced a dedicated RapidEnum page with usage, examples, and performance notes.
    • Updated lists, indexes, categories, and counts to 234 generators; added RapidEnum to Enum category.
    • Refreshed homepage feature text and exported catalog to include RapidEnum.
    • Moved RapidEnum from “No Examples” to full example coverage.
  • Chores
    • Updated “Latest Update” date to 2025-10-04.
    • Improved README processing to correctly resolve images and links.

Copilot AI review requested due to automatic review settings October 4, 2025 04:57
@ignatandrei ignatandrei linked an issue Oct 4, 2025 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new RSCG example for RapidEnum, which generates enum values without reflection. The addition includes comprehensive documentation, example code, and updates all relevant count references from 233 to 234 RSCGs.

  • Adds RapidEnum as the 234th documented RSCG example with complete project structure
  • Updates all count references throughout the documentation and configuration files
  • Removes RapidEnum from the "later" list as it's now been documented

Reviewed Changes

Copilot reviewed 27 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
v2/rscg_examples_site/static/exports/RSCG.json Adds RapidEnum entry to the main RSCG export data
v2/rscg_examples_site/src/components/HomepageFeatures/index.js Updates total example count from 233 to 234
v2/rscg_examples_site/docs/indexRSCG.md Updates count and adds RapidEnum to the chronological list
v2/rscg_examples_site/docs/about.md Updates count reference from 233 to 234
v2/rscg_examples_site/docs/RSCG-Examples/index.md Updates count and adds RapidEnum to Enum category
v2/rscg_examples_site/docs/RSCG-Examples/RapidEnum.md Complete documentation page for RapidEnum example
v2/rscg_examples_site/docs/NoExamples.md Removes RapidEnum from the list of untested RSCGs
v2/RSCGExamplesData/NoExample.json Removes RapidEnum entry from the no-example list
v2/RSCGExamplesData/GeneratorDataRec.json Adds RapidEnum metadata to the generator data
v2/rscg_examples/RapidEnum/* Complete example project structure with source code
README.md Updates count and adds RapidEnum as the latest example

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@coderabbitai
Copy link

coderabbitai bot commented Oct 4, 2025

Walkthrough

Adds a new RapidEnum example across data, docs, and site; bumps counts from 233 to 234; appends catalog/exports entries; introduces a small README link-rewrite enhancement in the generator; adds a .NET sample project demonstrating RapidEnum; updates lists, categories, and build inputs accordingly.

Changes

Cohort / File(s) Summary
Catalog and counts update
README.md, later.md, v2/book/list.html, v2/rscg_examples_site/docs/indexRSCG.md, v2/rscg_examples_site/src/components/HomepageFeatures/index.js, v2/rscg_examples_site/docs/about.md
Bump displayed total from 233 to 234; update “Latest Update” date; add RapidEnum row/links in lists; adjust headings and counts.
Generator link rewrite tweaks
v2/Generator/MultiGeneratorV2.cs
Extend GrabReadMe replacements to rewrite relative image/README links and an empty “[this]” link to generator source paths.
Data records and exports
v2/RSCGExamplesData/GeneratorDataRec.json, v2/rscg_examples_site/static/exports/RSCG.json, v2/RSCGExamplesData/NoExample.json
Append RapidEnum entry to records/exports; remove RapidEnum from NoExample.json.
Book build inputs
v2/book/pandocHTML.yaml, v2/book/examples/RapidEnum.html
Add RapidEnum to Pandoc input list; include new static example page.
New RapidEnum example project
v2/rscg_examples/RapidEnum/src/EnumDemo.sln, .../EnumDemo/EnumDemo.csproj, .../EnumDemo/CarTypes.cs, .../EnumDemo/Program.cs, .../.tours/RapidEnum.tour
Add solution, .NET 9 demo project with enum and sample program; include CodeTour steps.
RapidEnum example metadata
v2/rscg_examples/RapidEnum/description.json, .../nuget.txt, .../readme.txt, .../video.json
Add descriptive JSON, brief NuGet summary, detailed README content, and scripted video steps.
Docs site: category and example pages
v2/rscg_examples_site/docs/Categories/Enum.md, v2/rscg_examples_site/docs/Categories/_PrimitiveEnum.mdx, v2/rscg_examples_site/docs/RSCG-Examples/RapidEnum.md, v2/rscg_examples_site/docs/RSCG-Examples/index.md
Insert RapidEnum into Enum category (count 11→12); add dedicated RapidEnum page; update index metadata and diagram.
NoExamples list maintenance
v2/rscg_examples_site/docs/NoExamples.md, later.md
Replace/renumber multiple list entries and links; adjust numbering; content-only changes.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Dev as Dev
  participant Gen as MultiGeneratorV2
  participant Repo as Generator Source
  participant Docs as Docs/Book/Site

  Dev->>Gen: Run GrabReadMe(content)
  Gen->>Gen: Replace paths (docs/, img/, README...) 
  Gen->>Gen: New: rewrite (./Images/*), (README_IMAGE.png), [this]()
  Gen->>Repo: Resolve source/image links
  Gen->>Docs: Emit processed README HTML/MD
  Note over Gen,Docs: Outputs feed book pages and site pages including RapidEnum
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • start demo #395 — Also modifies GrabReadMe replacement rules in MultiGeneratorV2.cs.
  • first iteration #405 — Updates README/link rewrite logic within the same generator method.
  • vyaml #408 — Touches generator and catalog/list files in the same documentation/data pipeline.

Poem

A hop and a count—now two-three-four,
I nibble enums, then ask for more.
Rapid as carrots, extensions in tow,
Links rewired neatly, off we go!
In fields of docs I thump with glee,
New pages sprout—so bunny can see. 🥕🐇

Pre-merge checks and finishing touches

❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Title Check ❓ Inconclusive The title “first iteration” is too generic and does not describe the primary changes in this pull request, which include adding the RapidEnum example, updating documentation pages, and bumping the total count to 234. Please update the title to concisely reflect the main change, for example “Add RapidEnum example and update documentation counts to 234.”
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 409-httpsgithubcomhanachirurapidenum

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

🧹 Nitpick comments (2)
v2/rscg_examples/RapidEnum/src/EnumDemo/CarTypes.cs (1)

7-10: Remove trailing whitespace.

Lines 7-10 have trailing spaces after the enum member names (e.g., Dacia , instead of Dacia,). While this doesn't affect functionality, it's cleaner to remove them.

Apply this diff:

-    Dacia ,
-    Tesla ,
-    BMW ,
-    Mercedes ,
+    Dacia,
+    Tesla,
+    BMW,
+    Mercedes,
v2/rscg_examples/RapidEnum/src/.tours/RapidEnum.tour (1)

14-17: Consider more specific step patterns.

The placeholder pattern "this is the code" is generic. Consider using more specific patterns that highlight key code elements users should focus on, such as "[RapidEnum.RapidEnum]" for CarTypes.cs or "CarTypesEnumExtensions.GetValues()" for Program.cs.

Example improvement:

     {
       "file": "EnumDemo/CarTypes.cs",
-      "description": "File CarTypes.cs  ",
-      "pattern": "this is the code"
+      "description": "Define the enum with [RapidEnum.RapidEnum] attribute",
+      "pattern": "[RapidEnum.RapidEnum]"
     }
     
     {
       "file": "EnumDemo/Program.cs",
-      "description": "File Program.cs \r\n>> dotnet run --project EnumDemo/EnumDemo.csproj ",
-      "pattern": "this is the code"
+      "description": "Use the generated extension methods\r\n>> dotnet run --project EnumDemo/EnumDemo.csproj",
+      "pattern": "CarTypesEnumExtensions.GetValues()"
     }

Also applies to: 19-23

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6b4e0f6 and 21aff60.

⛔ Files ignored due to path filters (3)
  • v2/Generator/all.csv is excluded by !**/*.csv
  • v2/rscg_examples_site/static/exports/RSCG.xlsx is excluded by !**/*.xlsx
  • v2/rscg_examples_site/static/sources/RapidEnum.zip is excluded by !**/*.zip
📒 Files selected for processing (26)
  • README.md (3 hunks)
  • later.md (2 hunks)
  • v2/Generator/MultiGeneratorV2.cs (1 hunks)
  • v2/RSCGExamplesData/GeneratorDataRec.json (1 hunks)
  • v2/RSCGExamplesData/NoExample.json (0 hunks)
  • v2/book/examples/RapidEnum.html (1 hunks)
  • v2/book/list.html (2 hunks)
  • v2/book/pandocHTML.yaml (1 hunks)
  • v2/rscg_examples/RapidEnum/description.json (1 hunks)
  • v2/rscg_examples/RapidEnum/nuget.txt (1 hunks)
  • v2/rscg_examples/RapidEnum/readme.txt (1 hunks)
  • v2/rscg_examples/RapidEnum/src/.tours/RapidEnum.tour (1 hunks)
  • v2/rscg_examples/RapidEnum/src/EnumDemo.sln (1 hunks)
  • v2/rscg_examples/RapidEnum/src/EnumDemo/CarTypes.cs (1 hunks)
  • v2/rscg_examples/RapidEnum/src/EnumDemo/EnumDemo.csproj (1 hunks)
  • v2/rscg_examples/RapidEnum/src/EnumDemo/Program.cs (1 hunks)
  • v2/rscg_examples/RapidEnum/video.json (1 hunks)
  • v2/rscg_examples_site/docs/Categories/Enum.md (2 hunks)
  • v2/rscg_examples_site/docs/Categories/_PrimitiveEnum.mdx (1 hunks)
  • v2/rscg_examples_site/docs/NoExamples.md (1 hunks)
  • v2/rscg_examples_site/docs/RSCG-Examples/RapidEnum.md (1 hunks)
  • v2/rscg_examples_site/docs/RSCG-Examples/index.md (4 hunks)
  • v2/rscg_examples_site/docs/about.md (1 hunks)
  • v2/rscg_examples_site/docs/indexRSCG.md (2 hunks)
  • v2/rscg_examples_site/src/components/HomepageFeatures/index.js (1 hunks)
  • v2/rscg_examples_site/static/exports/RSCG.json (1 hunks)
💤 Files with no reviewable changes (1)
  • v2/RSCGExamplesData/NoExample.json
🧰 Additional context used
🧬 Code graph analysis (1)
v2/Generator/MultiGeneratorV2.cs (1)
v2/Generator/Generator.cs (1)
  • Generator (4-145)
🪛 Biome (2.1.2)
v2/rscg_examples/RapidEnum/video.json

[error] 35-36: Property key must be double quoted

(parse)


[error] 36-36: unexpected character =

(parse)


[error] 36-36: expected , but instead found " "

Remove " "

(parse)


[error] 36-36: expected : but instead found }

Remove }

(parse)


[error] 37-38: Expected an array, an object, or a literal but instead found ']'.

Expected an array, an object, or a literal here.

(parse)

🪛 markdownlint-cli2 (0.18.1)
later.md

65-65: Bare URL used

(MD034, no-bare-urls)


71-71: Bare URL used

(MD034, no-bare-urls)


77-77: Bare URL used

(MD034, no-bare-urls)


83-83: Bare URL used

(MD034, no-bare-urls)


89-89: Bare URL used

(MD034, no-bare-urls)


95-95: Bare URL used

(MD034, no-bare-urls)


101-101: Bare URL used

(MD034, no-bare-urls)


107-107: Bare URL used

(MD034, no-bare-urls)


113-113: Bare URL used

(MD034, no-bare-urls)


119-119: Bare URL used

(MD034, no-bare-urls)


125-125: Bare URL used

(MD034, no-bare-urls)


131-131: Bare URL used

(MD034, no-bare-urls)


137-137: Bare URL used

(MD034, no-bare-urls)


143-143: Bare URL used

(MD034, no-bare-urls)

README.md

5535-5535: Bare URL used

(MD034, no-bare-urls)


5539-5539: Bare URL used

(MD034, no-bare-urls)


5542-5542: Bare URL used

(MD034, no-bare-urls)


5546-5546: Bare URL used

(MD034, no-bare-urls)


5549-5549: Bare URL used

(MD034, no-bare-urls)


5553-5553: Bare URL used

(MD034, no-bare-urls)


5556-5556: Bare URL used

(MD034, no-bare-urls)


5560-5560: Bare URL used

(MD034, no-bare-urls)


5563-5563: Bare URL used

(MD034, no-bare-urls)


5567-5567: Bare URL used

(MD034, no-bare-urls)


5570-5570: Bare URL used

(MD034, no-bare-urls)


5574-5574: Bare URL used

(MD034, no-bare-urls)


5577-5577: Bare URL used

(MD034, no-bare-urls)


5581-5581: Bare URL used

(MD034, no-bare-urls)


5584-5584: Bare URL used

(MD034, no-bare-urls)


5588-5588: Bare URL used

(MD034, no-bare-urls)


5591-5591: Bare URL used

(MD034, no-bare-urls)


5595-5595: Bare URL used

(MD034, no-bare-urls)


5598-5598: Bare URL used

(MD034, no-bare-urls)


5602-5602: Bare URL used

(MD034, no-bare-urls)


5605-5605: Bare URL used

(MD034, no-bare-urls)


5609-5609: Bare URL used

(MD034, no-bare-urls)


5612-5612: Bare URL used

(MD034, no-bare-urls)


5616-5616: Bare URL used

(MD034, no-bare-urls)


5619-5619: Bare URL used

(MD034, no-bare-urls)


5623-5623: Bare URL used

(MD034, no-bare-urls)


5626-5626: Bare URL used

(MD034, no-bare-urls)


5630-5630: Bare URL used

(MD034, no-bare-urls)


5633-5633: Bare URL used

(MD034, no-bare-urls)


5637-5637: Bare URL used

(MD034, no-bare-urls)


5640-5640: Bare URL used

(MD034, no-bare-urls)


5644-5644: Bare URL used

(MD034, no-bare-urls)


5647-5647: Bare URL used

(MD034, no-bare-urls)


5651-5651: Bare URL used

(MD034, no-bare-urls)


5654-5654: Bare URL used

(MD034, no-bare-urls)


5658-5658: Bare URL used

(MD034, no-bare-urls)


5661-5661: Bare URL used

(MD034, no-bare-urls)


5665-5665: Bare URL used

(MD034, no-bare-urls)


5668-5668: Bare URL used

(MD034, no-bare-urls)


5672-5672: Bare URL used

(MD034, no-bare-urls)


5675-5675: Bare URL used

(MD034, no-bare-urls)


5679-5679: Bare URL used

(MD034, no-bare-urls)


5682-5682: Bare URL used

(MD034, no-bare-urls)


5686-5686: Bare URL used

(MD034, no-bare-urls)


5689-5689: Bare URL used

(MD034, no-bare-urls)


5693-5693: Bare URL used

(MD034, no-bare-urls)


5696-5696: Bare URL used

(MD034, no-bare-urls)


5700-5700: Bare URL used

(MD034, no-bare-urls)


5703-5703: Bare URL used

(MD034, no-bare-urls)


5707-5707: Bare URL used

(MD034, no-bare-urls)


5710-5710: Bare URL used

(MD034, no-bare-urls)


5714-5714: Bare URL used

(MD034, no-bare-urls)


5717-5717: Bare URL used

(MD034, no-bare-urls)


5721-5721: Bare URL used

(MD034, no-bare-urls)


5724-5724: Bare URL used

(MD034, no-bare-urls)


5728-5728: Bare URL used

(MD034, no-bare-urls)


5731-5731: Bare URL used

(MD034, no-bare-urls)


5735-5735: Bare URL used

(MD034, no-bare-urls)


5738-5738: Bare URL used

(MD034, no-bare-urls)


5742-5742: Bare URL used

(MD034, no-bare-urls)


5745-5745: Bare URL used

(MD034, no-bare-urls)


5749-5749: Bare URL used

(MD034, no-bare-urls)


5752-5752: Bare URL used

(MD034, no-bare-urls)


5756-5756: Bare URL used

(MD034, no-bare-urls)


5759-5759: Bare URL used

(MD034, no-bare-urls)


5763-5763: Bare URL used

(MD034, no-bare-urls)


5766-5766: Bare URL used

(MD034, no-bare-urls)


5770-5770: Bare URL used

(MD034, no-bare-urls)


5773-5773: Bare URL used

(MD034, no-bare-urls)


5777-5777: Bare URL used

(MD034, no-bare-urls)


5780-5780: Bare URL used

(MD034, no-bare-urls)


5784-5784: Bare URL used

(MD034, no-bare-urls)


5787-5787: Bare URL used

(MD034, no-bare-urls)


5791-5791: Bare URL used

(MD034, no-bare-urls)


5794-5794: Bare URL used

(MD034, no-bare-urls)

v2/rscg_examples_site/docs/indexRSCG.md

23-23: Spaces inside link text

(MD039, no-space-in-links)

v2/rscg_examples_site/docs/NoExamples.md

305-305: Bare URL used

(MD034, no-bare-urls)


305-305: Bare URL used

(MD034, no-bare-urls)


309-309: Bare URL used

(MD034, no-bare-urls)


309-309: Bare URL used

(MD034, no-bare-urls)


313-313: Bare URL used

(MD034, no-bare-urls)


313-313: Bare URL used

(MD034, no-bare-urls)


317-317: Bare URL used

(MD034, no-bare-urls)


317-317: Bare URL used

(MD034, no-bare-urls)


321-321: Bare URL used

(MD034, no-bare-urls)


321-321: Bare URL used

(MD034, no-bare-urls)


325-325: Bare URL used

(MD034, no-bare-urls)


325-325: Bare URL used

(MD034, no-bare-urls)


329-329: Bare URL used

(MD034, no-bare-urls)


329-329: Bare URL used

(MD034, no-bare-urls)


333-333: Bare URL used

(MD034, no-bare-urls)


333-333: Bare URL used

(MD034, no-bare-urls)


337-337: Bare URL used

(MD034, no-bare-urls)


337-337: Bare URL used

(MD034, no-bare-urls)


341-341: Bare URL used

(MD034, no-bare-urls)


341-341: Bare URL used

(MD034, no-bare-urls)


345-345: Bare URL used

(MD034, no-bare-urls)


345-345: Bare URL used

(MD034, no-bare-urls)


349-349: Bare URL used

(MD034, no-bare-urls)


349-349: Bare URL used

(MD034, no-bare-urls)


353-353: Bare URL used

(MD034, no-bare-urls)


353-353: Bare URL used

(MD034, no-bare-urls)


357-357: Bare URL used

(MD034, no-bare-urls)


357-357: Bare URL used

(MD034, no-bare-urls)


361-361: Bare URL used

(MD034, no-bare-urls)


361-361: Bare URL used

(MD034, no-bare-urls)


365-365: Bare URL used

(MD034, no-bare-urls)


365-365: Bare URL used

(MD034, no-bare-urls)


369-369: Bare URL used

(MD034, no-bare-urls)


373-373: Bare URL used

(MD034, no-bare-urls)


377-377: Bare URL used

(MD034, no-bare-urls)


381-381: Bare URL used

(MD034, no-bare-urls)


385-385: Bare URL used

(MD034, no-bare-urls)


389-389: Bare URL used

(MD034, no-bare-urls)


393-393: Bare URL used

(MD034, no-bare-urls)


397-397: Bare URL used

(MD034, no-bare-urls)


401-401: Bare URL used

(MD034, no-bare-urls)


405-405: Bare URL used

(MD034, no-bare-urls)


409-409: Bare URL used

(MD034, no-bare-urls)


413-413: Bare URL used

(MD034, no-bare-urls)


417-417: Bare URL used

(MD034, no-bare-urls)


421-421: Bare URL used

(MD034, no-bare-urls)


425-425: Bare URL used

(MD034, no-bare-urls)


429-429: Bare URL used

(MD034, no-bare-urls)


433-433: Bare URL used

(MD034, no-bare-urls)


437-437: Bare URL used

(MD034, no-bare-urls)


441-441: Bare URL used

(MD034, no-bare-urls)


445-445: Bare URL used

(MD034, no-bare-urls)


449-449: Bare URL used

(MD034, no-bare-urls)


453-453: Bare URL used

(MD034, no-bare-urls)


457-457: Bare URL used

(MD034, no-bare-urls)


461-461: Bare URL used

(MD034, no-bare-urls)


465-465: Bare URL used

(MD034, no-bare-urls)


469-469: Bare URL used

(MD034, no-bare-urls)


473-473: Bare URL used

(MD034, no-bare-urls)


477-477: Bare URL used

(MD034, no-bare-urls)


481-481: Bare URL used

(MD034, no-bare-urls)


485-485: Bare URL used

(MD034, no-bare-urls)


489-489: Bare URL used

(MD034, no-bare-urls)


493-493: Bare URL used

(MD034, no-bare-urls)


497-497: Bare URL used

(MD034, no-bare-urls)


501-501: Bare URL used

(MD034, no-bare-urls)


505-505: Bare URL used

(MD034, no-bare-urls)


509-509: Bare URL used

(MD034, no-bare-urls)


513-513: Bare URL used

(MD034, no-bare-urls)


517-517: Bare URL used

(MD034, no-bare-urls)


521-521: Bare URL used

(MD034, no-bare-urls)


525-525: Bare URL used

(MD034, no-bare-urls)


529-529: Bare URL used

(MD034, no-bare-urls)


533-533: Bare URL used

(MD034, no-bare-urls)


537-537: Bare URL used

(MD034, no-bare-urls)


541-541: Bare URL used

(MD034, no-bare-urls)


545-545: Bare URL used

(MD034, no-bare-urls)


549-549: Bare URL used

(MD034, no-bare-urls)


553-553: Bare URL used

(MD034, no-bare-urls)


557-557: Bare URL used

(MD034, no-bare-urls)


561-561: Bare URL used

(MD034, no-bare-urls)


565-565: Bare URL used

(MD034, no-bare-urls)


569-569: Bare URL used

(MD034, no-bare-urls)


573-573: Bare URL used

(MD034, no-bare-urls)


577-577: Bare URL used

(MD034, no-bare-urls)


581-581: Bare URL used

(MD034, no-bare-urls)


585-585: Bare URL used

(MD034, no-bare-urls)


589-589: Bare URL used

(MD034, no-bare-urls)


593-593: Bare URL used

(MD034, no-bare-urls)


597-597: Bare URL used

(MD034, no-bare-urls)


601-601: Bare URL used

(MD034, no-bare-urls)


605-605: Bare URL used

(MD034, no-bare-urls)


609-609: Bare URL used

(MD034, no-bare-urls)


613-613: Bare URL used

(MD034, no-bare-urls)


617-617: Bare URL used

(MD034, no-bare-urls)


621-621: Bare URL used

(MD034, no-bare-urls)


625-625: Bare URL used

(MD034, no-bare-urls)


629-629: Bare URL used

(MD034, no-bare-urls)


633-633: Bare URL used

(MD034, no-bare-urls)


637-637: Bare URL used

(MD034, no-bare-urls)


641-641: Bare URL used

(MD034, no-bare-urls)


645-645: Bare URL used

(MD034, no-bare-urls)


649-649: Bare URL used

(MD034, no-bare-urls)


653-653: Bare URL used

(MD034, no-bare-urls)


657-657: Bare URL used

(MD034, no-bare-urls)


661-661: Bare URL used

(MD034, no-bare-urls)


665-665: Bare URL used

(MD034, no-bare-urls)


669-669: Bare URL used

(MD034, no-bare-urls)


673-673: Bare URL used

(MD034, no-bare-urls)


677-677: Bare URL used

(MD034, no-bare-urls)


681-681: Bare URL used

(MD034, no-bare-urls)


685-685: Bare URL used

(MD034, no-bare-urls)


689-689: Bare URL used

(MD034, no-bare-urls)


693-693: Bare URL used

(MD034, no-bare-urls)


697-697: Bare URL used

(MD034, no-bare-urls)


701-701: Bare URL used

(MD034, no-bare-urls)


705-705: Bare URL used

(MD034, no-bare-urls)


709-709: Bare URL used

(MD034, no-bare-urls)


713-713: Bare URL used

(MD034, no-bare-urls)

v2/rscg_examples_site/docs/RSCG-Examples/RapidEnum.md

34-34: Bare URL used

(MD034, no-bare-urls)


37-37: Bare URL used

(MD034, no-bare-urls)


39-39: Bare URL used

(MD034, no-bare-urls)


73-73: Link fragments should be valid
Expected: #requirements; Actual: #Requirements

(MD051, link-fragments)


74-74: Link fragments should be valid
Expected: #installation; Actual: #Installation

(MD051, link-fragments)


75-75: Link fragments should be valid
Expected: #nuget; Actual: #NuGet

(MD051, link-fragments)


76-76: Link fragments should be valid
Expected: #unity; Actual: #Unity

(MD051, link-fragments)


78-78: Link fragments should be valid
Expected: #how-to-use; Actual: #How-to-use

(MD051, link-fragments)


79-79: Link fragments should be valid
Expected: #basic-usage; Actual: #Basic-usage

(MD051, link-fragments)


80-80: Link fragments should be valid
Expected: #how-to-use-it-for-any-enum; Actual: #How-to-use-it-for-any-enum

(MD051, link-fragments)


81-81: Link fragments should be valid
Expected: #get-name-and-value-as-a-pair; Actual: #Get-Name-and-Value-as-a-pair

(MD051, link-fragments)


82-82: Link fragments should be valid
Expected: #use-enummemberattribute; Actual: #Use-EnumMemberAttribute

(MD051, link-fragments)


83-83: Link fragments should be valid
Expected: #performance-comparison; Actual: #Performance-comparison

(MD051, link-fragments)


95-95: Dollar signs used before commands without showing output

(MD014, commands-show-output)


104-104: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


113-113: Images should have alternate text (alt text)

(MD045, no-alt-text)


265-265: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


276-276: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


304-304: Hard tabs
Column: 1

(MD010, no-hard-tabs)


305-305: Hard tabs
Column: 1

(MD010, no-hard-tabs)


306-306: Hard tabs
Column: 1

(MD010, no-hard-tabs)


387-387: Code block style
Expected: fenced; Actual: indented

(MD046, code-block-style)


584-584: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


622-622: Spaces inside link text

(MD039, no-space-in-links)


636-636: Bare URL used

(MD034, no-bare-urls)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: call-workflow-passing-data / build (24.3.0)
🔇 Additional comments (17)
v2/Generator/MultiGeneratorV2.cs (3)

123-123: LGTM!

The replacement correctly converts relative image references to absolute URLs pointing to the generator source. The pattern is consistent with existing replacements in the method.


124-124: LGTM!

The replacement correctly handles the specific "README_IMAGE.png" reference by converting it to an absolute URL.


125-125: LGTM! Minor observation about the pattern.

The replacement handles the unusual markdown pattern [this]() (anchor with no URL) by pointing it to the generator source. This is a reasonable assumption, though it's worth noting this pattern is atypical. If [this]() was intentionally left empty in the original README for a different purpose, this replacement might change the intended meaning.

v2/rscg_examples_site/docs/about.md (1)

9-9: LGTM!

The count update from 233 to 234 aligns with the addition of RapidEnum as the new RSCG example.

v2/rscg_examples_site/docs/Categories/Enum.md (1)

3-3: LGTM!

The enum category list correctly reflects the addition of RapidEnum as the 11th item, with the count properly incremented to 12. The alphabetical ordering is maintained.

Also applies to: 25-27

v2/rscg_examples_site/static/exports/RSCG.json (1)

1869-1876: LGTM!

The RapidEnum entry is properly formatted and includes all required fields (Name, Link, NuGet, Source, Category, AddedOn). The metadata is consistent with the existing catalog structure.

v2/RSCGExamplesData/GeneratorDataRec.json (1)

1412-1417: LGTM!

The RapidEnum data record is correctly formatted with appropriate category (19 for Enum), date, and visibility flag.

v2/rscg_examples_site/src/components/HomepageFeatures/index.js (1)

7-7: LGTM!

The homepage feature count is correctly updated to reflect 234 examples.

v2/rscg_examples/RapidEnum/src/EnumDemo.sln (1)

1-25: LGTM!

The solution file follows the standard Visual Studio format and correctly references the EnumDemo project with appropriate configurations.

v2/rscg_examples/RapidEnum/nuget.txt (1)

1-1: LGTM!

The descriptor accurately summarizes the RapidEnum package functionality.

v2/rscg_examples_site/docs/Categories/_PrimitiveEnum.mdx (1)

23-25: LGTM!

The category list correctly inserts RapidEnum at position 11 and shifts requiredenum to position 12, maintaining proper ordering.

v2/rscg_examples/RapidEnum/src/EnumDemo/Program.cs (1)

1-10: LGTM!

The demo code clearly demonstrates RapidEnum's core functionality: retrieving enum values via GetValues() and converting to string via ToStringFast(). The implementation is straightforward and effective.

v2/book/list.html (1)

20-20: LGTM!

The list correctly updates the total count to 234 and adds the RapidEnum entry as item 234, maintaining consistency across the documentation.

Also applies to: 961-964

v2/rscg_examples/RapidEnum/src/EnumDemo/CarTypes.cs (1)

1-11: Enum definition is correct.

The CarTypes enum is properly annotated with [RapidEnum.RapidEnum] and will trigger code generation for extension methods.

v2/rscg_examples_site/docs/indexRSCG.md (1)

10-12: LGTM!

The index correctly updates the total count to 234 and adds RapidEnum as the newest entry in the chronological list.

Also applies to: 23-23

v2/rscg_examples/RapidEnum/src/.tours/RapidEnum.tour (1)

1-42: Codetour structure is sound.

The tour correctly references the project structure and generated files, providing a logical flow through the RapidEnum example.

v2/rscg_examples_site/docs/RSCG-Examples/index.md (1)

3-767: Counts and new RapidEnum entry look solid.

Title/description bump, the Enum count, and the RapidEnum link/diagram update all stay consistent.


| No | Name | Date | Category |
| --------- | ----- | ---- | -------- |
|234| [RapidEnum by hanachiru ](/docs/RapidEnum)|2025-10-04 => 04 October 2025 | [Enum](/docs/Categories/Enum) |
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Remove spaces from link text.

Apply this diff:

-|234| [RapidEnum by hanachiru ](/docs/RapidEnum)|2025-10-04 => 04 October 2025 | [Enum](/docs/Categories/Enum) |
+|234| [RapidEnum by hanachiru](/docs/RapidEnum)|2025-10-04 => 04 October 2025 | [Enum](/docs/Categories/Enum) |
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
|234| [RapidEnum by hanachiru ](/docs/RapidEnum)|2025-10-04 => 04 October 2025 | [Enum](/docs/Categories/Enum) |
|234| [RapidEnum by hanachiru](/docs/RapidEnum)|2025-10-04 => 04 October 2025 | [Enum](/docs/Categories/Enum) |
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

23-23: Spaces inside link text

(MD039, no-space-in-links)

🤖 Prompt for AI Agents
In v2/rscg_examples_site/docs/indexRSCG.md around line 23, the markdown link
text contains an extra trailing space ("[RapidEnum by hanachiru ]"); remove the
space inside the square brackets so it reads "[RapidEnum by hanachiru]". Ensure
there are no leading or trailing spaces inside any other link texts on that
line.


</TabItem>

<TabItem value="D:\gth\RSCG_Examples\v2\rscg_examples\RapidEnum\src\EnumDemo\Program.cs" label="Program.cs" >
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Local development path leaked into TabItem label.

Line 318 contains a Windows-style absolute path D:\gth\RSCG_Examples\v2\rscg_examples\RapidEnum\src\EnumDemo\Program.cs that appears to be from a local development environment. This should use a relative path or simplified label.

Apply this diff to use a clean label:

-  <TabItem value="D:\gth\RSCG_Examples\v2\rscg_examples\RapidEnum\src\EnumDemo\Program.cs" label="Program.cs" >
+  <TabItem value="Program.cs" label="Program.cs" >

Similarly, fix line 336:

-  <TabItem value="D:\gth\RSCG_Examples\v2\rscg_examples\RapidEnum\src\EnumDemo\CarTypes.cs" label="CarTypes.cs" >
+  <TabItem value="CarTypes.cs" label="CarTypes.cs" >

And lines 364, 588:

-<TabItem value="D:\gth\RSCG_Examples\v2\rscg_examples\RapidEnum\src\EnumDemo\obj\GX\RapidEnum.Generators\RapidEnum.RapidEnumGenerator\CarTypesEnumExtensions.g.cs" label="CarTypesEnumExtensions.g.cs" >
+<TabItem value="CarTypesEnumExtensions.g.cs" label="CarTypesEnumExtensions.g.cs" >
-<TabItem value="D:\gth\RSCG_Examples\v2\rscg_examples\RapidEnum\src\EnumDemo\obj\GX\RapidEnum.Generators\RapidEnum.RapidEnumGenerator\RapidEnumAttributes.g.cs" label="RapidEnumAttributes.g.cs" >
+<TabItem value="RapidEnumAttributes.g.cs" label="RapidEnumAttributes.g.cs" >
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<TabItem value="D:\gth\RSCG_Examples\v2\rscg_examples\RapidEnum\src\EnumDemo\Program.cs" label="Program.cs" >
<TabItem value="Program.cs" label="Program.cs" >
<TabItem value="CarTypes.cs" label="CarTypes.cs" >
<TabItem value="CarTypesEnumExtensions.g.cs" label="CarTypesEnumExtensions.g.cs" >
<TabItem value="RapidEnumAttributes.g.cs" label="RapidEnumAttributes.g.cs" >
🤖 Prompt for AI Agents
In v2/rscg_examples_site/docs/RSCG-Examples/RapidEnum.md around lines 318, 336,
364, and 588, the TabItem labels currently contain Windows absolute paths (e.g.,
D:\gth\RSCG_Examples\...) leaked from the local dev environment; replace each
absolute path with a relative path or a simplified filename label (for example:
RapidEnum/src/EnumDemo/Program.cs or simply Program.cs) so the documentation
contains clean, environment‑agnostic paths while leaving the TabItem value
attribute pointing to the repo-relative path if needed.


:::tip

[Download Example project RapidEnum ](/sources/RapidEnum.zip)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Remove spaces from link text.

Apply this diff:

-[Download Example project RapidEnum ](/sources/RapidEnum.zip)
+[Download Example project RapidEnum](/sources/RapidEnum.zip)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
[Download Example project RapidEnum ](/sources/RapidEnum.zip)
[Download Example project RapidEnum](/sources/RapidEnum.zip)
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

622-622: Spaces inside link text

(MD039, no-space-in-links)

🤖 Prompt for AI Agents
In v2/rscg_examples_site/docs/RSCG-Examples/RapidEnum.md around line 622, the
markdown link text contains an extra trailing space before the closing bracket;
remove that space so the link reads "[Download Example project
RapidEnum](/sources/RapidEnum.zip)" instead of "[Download Example project
RapidEnum ](/sources/RapidEnum.zip)".


![PerformanceComparison](./Images/PerformanceComparison.png)

It performed better than .NET API. It is also faster than [FastEnum v1.8.0](https://github.com/xin9le/FastEnum/releases/tag/v1.8.0). For more information on performance comparisons, see [this]().
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fill in the missing performance link.

The reference see [this]() renders as a dead link. Please either supply the correct URL or remove the placeholder so readers aren’t sent to an empty target.

🤖 Prompt for AI Agents
In v2/rscg_examples/RapidEnum/readme.txt around line 16, the README contains a
placeholder markdown link "see [this]()" that points to an empty target; replace
the placeholder with the correct performance-comparison URL (if available) or
remove the entire "[this]()" link and rephrase the sentence to avoid an empty
link, making sure the resulting sentence reads correctly and the markdown is
valid.

</PropertyGroup>

<ItemGroup>
<PackageReference Include="RapidEnum" Version="1.0.2" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify the RapidEnum package version.

The project references RapidEnum version 1.0.2. Ensure this is the intended version for the example.


🌐 Web query:

What is the latest version of the RapidEnum NuGet package?

💡 Result:

The latest RapidEnum NuGet package version is 0.4.1 (published May 7, 2025). [1]

Sources:
[1] NuGet package page — RapidEnum (version list & last updated).


Update RapidEnum package reference

Project references RapidEnum 1.0.2, but the latest NuGet release is 0.4.1. Change <PackageReference Include="RapidEnum" Version="1.0.2" /> to Version="0.4.1", or configure a custom feed if you intend to use a newer prerelease.
(v2/rscg_examples/RapidEnum/src/EnumDemo/EnumDemo.csproj line 16)

🤖 Prompt for AI Agents
In v2/rscg_examples/RapidEnum/src/EnumDemo/EnumDemo.csproj around line 16, the
project references RapidEnum Version="1.0.2" which is not available on NuGet;
update the PackageReference to Version="0.4.1" (i.e. change Version="1.0.2" to
Version="0.4.1") or, if you intentionally need a newer prerelease, configure and
add the custom NuGet feed that hosts that prerelease and adjust the
project/nuget.config accordingly.

Comment on lines +35 to +38
{"typeStep":"browser","arg":"https://ignatandrei.github.io/RSCG_Examples/v2/docs/RapidEnum#download-example-net--c-",
SpeakTest=" "},
{"typeStep":"waitseconds","arg":"30"},
]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Fix JSON syntax errors.

The JSON has multiple critical syntax errors that will prevent parsing:

  1. Line 35-36: Invalid property syntax with SpeakTest=" "
  2. Line 36: Unexpected = character
  3. Line 37: Trailing comma before closing bracket
  4. Line 38: Incorrect array closing

Apply this diff to fix the syntax errors:

 {"typeStep":"text","arg": "Remember, you can download the code from here"},
-{"typeStep":"browser","arg":"https://ignatandrei.github.io/RSCG_Examples/v2/docs/RapidEnum#download-example-net--c-",
-SpeakTest=" "},
+{"typeStep":"browser","arg":"https://ignatandrei.github.io/RSCG_Examples/v2/docs/RapidEnum#download-example-net--c-"},
 {"typeStep":"waitseconds","arg":"30"}
-,
-]
+  ]
 }

If SpeakTest was intended as a property, it should be formatted as:

{"typeStep":"browser","arg":"https://ignatandrei.github.io/RSCG_Examples/v2/docs/RapidEnum#download-example-net--c-", "SpeakTest": " "}
🧰 Tools
🪛 Biome (2.1.2)

[error] 35-36: Property key must be double quoted

(parse)


[error] 36-36: unexpected character =

(parse)


[error] 36-36: expected , but instead found " "

Remove " "

(parse)


[error] 36-36: expected : but instead found }

Remove }

(parse)


[error] 37-38: Expected an array, an object, or a literal but instead found ']'.

Expected an array, an object, or a literal here.

(parse)

🤖 Prompt for AI Agents
In v2/rscg_examples/RapidEnum/video.json around lines 35-38, the array item has
invalid JSON syntax: properties use = instead of :, SpeakTest is
unquoted/incorrect, there's a trailing comma before the closing bracket, and the
array closure is malformed; fix by replacing SpeakTest=" " with a proper
key/value pair using colon and double quotes (e.g., "SpeakTest": " "), ensure
all object properties are comma-separated correctly, remove the trailing comma
after the last array element, and close the array with a single ] so the JSON
parses correctly.

@ignatandrei ignatandrei merged commit 7cfae8e into main Oct 4, 2025
3 checks passed
@ignatandrei ignatandrei deleted the 409-httpsgithubcomhanachirurapidenum branch October 4, 2025 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

https://github.com/hanachiru/RapidEnum

2 participants