Repository navigation
first #538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
first #538
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| # Just later | ||
|
|
||
| ## Latest Update : 2026-08-27 => 27 August 2026 | ||
| ## Latest Update : 2026-08-28 => 28 August 2026 | ||
|
|
||
|
|
||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,30 @@ | ||||||
|
|
||||||
| { | ||||||
| "$schema": "https://aka.ms/codetour-schema", | ||||||
| "title": "TrimItEasy", | ||||||
| "steps": | ||||||
| [ | ||||||
| { | ||||||
| "file": "rscg_examples/TrimItEasy/src/TrimDemo/TrimDemo.csproj", | ||||||
| "description": "First, we add Nuget [TrimItEasy](https://www.nuget.org/packages/TrimItEasy/) in csproj ", | ||||||
| "pattern": "TrimItEasy" | ||||||
| } | ||||||
|
|
||||||
| ,{ | ||||||
| "file": "rscg_examples/TrimItEasy/src/TrimDemo/Program.cs", | ||||||
| "description": "File Program.cs \r\n>> dotnet run --project rscg_examples/TrimItEasy/src/TrimDemo/TrimDemo.csproj ", | ||||||
| "pattern": "this is the code" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Use a pattern that exists in The tour searches for Proposed fix- "pattern": "this is the code"
+ "pattern": "FastTrimStrings"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| } | ||||||
|
Comment on lines
+13
to
+17
|
||||||
|
|
||||||
|
|
||||||
| ,{ | ||||||
| "file": "rscg_examples/TrimItEasy/src/TrimDemo/obj/GX/TrimItEasy.Generators/TrimItEasy.Generators.TrimmerSourceGenerator/PersonExtensions_FastTrimStrings.g.cs", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: #!/bin/bash
set -euo pipefail
generated='v2/rscg_examples/TrimItEasy/src/TrimDemo/obj/GX/TrimItEasy.Generators/TrimItEasy.Generators.TrimmerSourceGenerator/PersonExtensions_FastTrimStrings.g.cs'
if git ls-files --error-unmatch "$generated" >/dev/null 2>&1; then
echo "Generated CodeTour file is tracked."
else
echo "Generated CodeTour file is not tracked."
exit 1
fi
rg -n '"typeStep":"tour"|"typeStep":"showproj"|dotnet run' \
v2/rscg_examples/TrimItEasy/video.jsonRepository: ignatandrei/RSCG_Examples Length of output: 203 🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '%s\n' '--- v2/.tours/TrimItEasy.tour ---'
cat -n v2/.tours/TrimItEasy.tour
printf '%s\n' '--- v2/rscg_examples/TrimItEasy/video.json ---'
cat -n v2/rscg_examples/TrimItEasy/video.json
printf '%s\n' '--- CodeTour runner references ---'
rg -n -S 'typeStep|showproj|\.tour|video\.json|CodeTour|dotnet run' \
v2 --glob '!**/obj/**' --glob '!**/bin/**' | head -250Repository: ignatandrei/RSCG_Examples Length of output: 33758 🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '%s\n' '--- v2/GV.Steps/Step.cs ---'
cat -n v2/GV.Steps/Step.cs | sed -n '1,125p'
printf '%s\n' '--- v2/GV.Steps/StartTourVSCode.cs ---'
cat -n v2/GV.Steps/StartTourVSCode.cs | sed -n '1,75p'
printf '%s\n' '--- generated-file and project references ---'
rg -n -S 'PersonExtensions_FastTrimStrings|TrimItEasy\.Generators|FastTrimStrings|dotnet build|dotnet run' \
v2/rscg_examples/TrimItEasy v2/GV.Steps v2/Generator --glob '!**/obj/**' --glob '!**/bin/**'Repository: ignatandrei/RSCG_Examples Length of output: 9450 Build the project before starting the tour.
🤖 Prompt for AI Agents |
||||||
| "description": "Generated File 1 from 1 : PersonExtensions_FastTrimStrings.g.cs ", | ||||||
| "line": 1 | ||||||
| } | ||||||
|
|
||||||
| ], | ||||||
|
|
||||||
| "ref": "main" | ||||||
|
|
||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,53 @@ | ||||||||||
|
|
||||||||||
| <h1>RSCG nr 287 : TrimItEasy</h1> | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Add the HTML doctype.
Proposed fix+<!doctype html>
+
<h1>RSCG nr 287 : TrimItEasy</h1>📝 Committable suggestion
Suggested change
🧰 Tools🪛 HTMLHint (1.9.2)[error] 2-2: Doctype must be declared before any non-comment content. (doctype-first) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||||||||||
|
|
||||||||||
| <h2>Info</h2> | ||||||||||
| Nuget : <a href="https://www.nuget.org/packages/TrimItEasy/" target="_blank">https://www.nuget.org/packages/TrimItEasy/</a> | ||||||||||
|
|
||||||||||
| <p>You can find more details at : <a href="https://github.com/phongnguyend/TrimItEasy" target="_blank"> https://github.com/phongnguyend/TrimItEasy</a></p> | ||||||||||
|
|
||||||||||
| <p>Author :Phong Nguyen</p> | ||||||||||
|
|
||||||||||
| <p>Source: <a href="https://github.com/phongnguyend/TrimItEasy" target="_blank">https://github.com/phongnguyend/TrimItEasy</a> </p> | ||||||||||
|
|
||||||||||
| <h2>About</h2> | ||||||||||
|
|
||||||||||
| trimming eacg string from a class properties | ||||||||||
|
|
||||||||||
| <h2> | ||||||||||
| How to use | ||||||||||
| </h2> | ||||||||||
| <h3> | ||||||||||
| Add reference to the <a href="https://www.nuget.org/packages/TrimItEasy/" target="_blank">TrimItEasy</a> in the csproj | ||||||||||
| </h3> | ||||||||||
| <img src="images/TrimItEasy/TrimDemo.csproj.png" width="580" height="580" /> | ||||||||||
|
|
||||||||||
| <h3>This was for me the <b>starting</b> code</h3> | ||||||||||
|
|
||||||||||
| <br /> | ||||||||||
| I have <b>coded</b> the file Program.cs | ||||||||||
| <br /> | ||||||||||
| <img src="images/TrimItEasy/csFiles/Program.cs.png" width="580" height="580" /> | ||||||||||
| <hr /> | ||||||||||
| <h3>And here are the <i>generated</i> files</h3> | ||||||||||
|
|
||||||||||
| <br /> | ||||||||||
| The file <i>generated</i> is PersonExtensions_FastTrimStrings.g.cs | ||||||||||
| <br /> | ||||||||||
| <img src="images/TrimItEasy/generated/PersonExtensions_FastTrimStrings.g.cs.png" width="580" height="580" /> | ||||||||||
|
|
||||||||||
| <p> | ||||||||||
| You can download the code and this page as pdf from | ||||||||||
| <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/TrimItEasy'> | ||||||||||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/TrimItEasy | ||||||||||
| </a> | ||||||||||
| </p> | ||||||||||
|
|
||||||||||
|
|
||||||||||
| <p> | ||||||||||
| You can see the whole list at | ||||||||||
| <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'> | ||||||||||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG | ||||||||||
| </a> | ||||||||||
| </p> | ||||||||||
|
|
||||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1714,5 +1714,11 @@ | |||||
| "category": "Tests", | ||||||
| "href": "/RSCG_Examples/v2/docs/SatorImaging.TDoubles/", | ||||||
| "body": "Incremental source generator for creating mock wrapper classes." | ||||||
| }, | ||||||
| { | ||||||
| "title": "TrimItEasy", | ||||||
| "category": "EnhancementClass", | ||||||
| "href": "/RSCG_Examples/v2/docs/TrimItEasy/", | ||||||
| "body": "Package Description" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Replace the placeholder catalog description.
Proposed fix- "body": "Package Description"
+ "body": "Trim string properties in classes."📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| } | ||||||
| ] | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "generator":{ | ||
| "name":"TrimItEasy", | ||
| "nuget":[ | ||
| "https://www.nuget.org/packages/TrimItEasy/" | ||
| ], | ||
| "link":"https://github.com/phongnguyend/TrimItEasy", | ||
| "author":"Phong Nguyen", | ||
| "source":"https://github.com/phongnguyend/TrimItEasy" | ||
| }, | ||
| "data":{ | ||
| "goodFor":["trimming eacg string from a class properties"], | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Correct the published description text consistently. The description contains the typo 📍 Affects 2 files
🤖 Prompt for AI AgentsSource: MCP tools |
||
| "csprojDemo":"TrimDemo.csproj", | ||
| "csFiles":["Program.cs"], | ||
| "excludeDirectoryGenerated":[""], | ||
| "includeAdditionalFiles":[""] | ||
| }, | ||
| "links":{ | ||
| "blog":"", | ||
| "video":"" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Package Description | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Replace the placeholder package description.
🤖 Prompt for AI AgentsSource: MCP tools |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Replace the placeholder package description.
Line 40 adds
Package Descriptionwithout a description. The new#287entry therefore has no summary. Populate the source metadata, if this README is generated, and regenerate this section with the actual package description.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents