Add string syntax attribute to `.AppendFormat()`
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 68/100
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.
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:
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
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.
More from Cysharp/ZString
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·