Add support for interpolated strings via InterpolatedStringHandler
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
...so that appending an interpolated string like this:
sb.Append($"BLAHBLAH {integer}");
behind the scenes this should result in this (pseudo code)
ZString.AppendInterpolatedStringHandler handler = new ZString.AppendInterpolatedStringHandler(9, 1, zstringBuilder);
handler.AppendLiteral("BLAHBLAH ");
handler.AppendFormatted(value);
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named in the issue. Start by locating ZString's existing Append overloads and the related test coverage, then compare them with the proposed AppendInterpolatedStringHandler entry point. Done means the C# interpolated-string example works through the handler without breaking existing append behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100