Skip to content

Split up NTokenizers.ShowCase into 6 separate projects#27

Merged
crwsolutions merged 4 commits intomainfrom
copilot/split-up-ntokenizers-showcase
Dec 1, 2025
Merged

Split up NTokenizers.ShowCase into 6 separate projects#27
crwsolutions merged 4 commits intomainfrom
copilot/split-up-ntokenizers-showcase

Conversation

Copy link
Contributor

Copilot AI commented Dec 1, 2025

Splits the NTokenizers.ShowCase project into 6 separate showcase projects as requested:

  • NTokenizers.ShowCase.Xml
  • NTokenizers.ShowCase.Json
  • NTokenizers.ShowCase.Typescript
  • NTokenizers.ShowCase.Sql
  • NTokenizers.ShowCase.CSharp
  • NTokenizers.ShowCase.Markup

Each project (except Markup) uses a max 3-line example string. The Markup project contains the original comprehensive example from the existing NTokenizers.ShowCase/Program.cs.

New Projects Created:

  • NTokenizers.ShowCase.Xml → 3-line user element XML snippet
  • NTokenizers.ShowCase.Json → 2-line JSON object
  • NTokenizers.ShowCase.Typescript → 2-line object literal
  • NTokenizers.ShowCase.Sql → 2-line SELECT statement
  • NTokenizers.ShowCase.CSharp → 2-line anonymous object
  • NTokenizers.ShowCase.Markup → Original Markup showcase from NTokenizers.ShowCase

Example (Xml):

string xml = """
    <user id="4821" active="true">
        <name>Laura Smith</name>
    </user>
    """;
Original prompt

This section details on the original issue you should resolve

<issue_title>Split up NTokenizers.ShowCase</issue_title>
<issue_description>@juuul

Can you Split up the NTokenizers.ShowCase project in 6 projects so that there is a Showcase project for:

  • Xml
  • Json
  • Typescript
  • Sql
  • CSharp
  • Markup

The current Program.cs already contains a showcase for Markup. Use an example string of max 3 lines for the other projects.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Dec 1, 2025
Copilot AI changed the title [WIP] Split NTokenizers.ShowCase into six showcase projects Shorten showcase examples to max 3 lines for non-Markup projects Dec 1, 2025
Copilot AI requested a review from juuul December 1, 2025 18:06
@crwsolutions
Copy link
Owner

crwsolutions commented Dec 1, 2025

@copilot

You took the wrong project! My request was about the NTokenizers.ShowCase project, can you rollback your changes and focus on the NTokenizers.ShowCase project?

@juuul
Copy link
Collaborator

juuul commented Dec 1, 2025

@copilot

You took the wrong project! My request was about the NTokenizers.ShowCase project, can you rollback your changes and focus on the NTokenizers.ShowCase project?

…pescript, Sql, CSharp, Markup and revert changes to Spectre.Console.Extensions projects

Co-authored-by: juuul <[email protected]>
Copy link
Contributor Author

Copilot AI commented Dec 1, 2025

@copilot

You took the wrong project! My request was about the NTokenizers.ShowCase project, can you rollback your changes and focus on the NTokenizers.ShowCase project?

Rolled back the changes to the Spectre.Console.Extensions.NTokenizers.ShowCase.* projects and created the correct 6 new NTokenizers.ShowCase.* projects (Xml, Json, Typescript, Sql, CSharp, Markup) with max 3-line examples as requested. Commit cfedd8f.

Copilot AI changed the title Shorten showcase examples to max 3 lines for non-Markup projects Split up NTokenizers.ShowCase into 6 separate projects Dec 1, 2025
@crwsolutions crwsolutions marked this pull request as ready for review December 1, 2025 18:45
@crwsolutions crwsolutions merged commit 0724bd8 into main Dec 1, 2025
@crwsolutions crwsolutions deleted the copilot/split-up-ntokenizers-showcase branch December 1, 2025 18:45
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.

Split up NTokenizers.ShowCase

3 participants