Add string syntax attribute to `.AppendFormat()`
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
Using [StringSyntax] attribute like so:
public void AppendFormat<T1>([StringSyntax(StringSyntaxAttribute.CompositeFormat)]string format, T1 arg1)
would make it so that IDEs can provide better syntax highlighting:
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
Start by locating the AppendFormat overloads in the ZString source and review how their format parameter is declared. Apply the StringSyntax attribute with the CompositeFormat value to the relevant format parameter, then verify that the public API builds and the IDE can recognize the format string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100