Why are there multiple CSS classes that mean the same thing?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Review the definitions and usages of the listed syntax-highlighting classes: htmlElementName, xmlName, htmlAttributeName, xmlAttribute, comment, htmlComment, string, jsonString, xmlAttributeValue, htmlAttributeValue, cssPropertyName, and jsonKey. Determine whether their distinctions are intentional; the issue is complete only after the project has a documented decision about preserving or consolidating them.
Written by the indexing model from the issue text.
Description
There's the following pairs with the same semantic meaning:
htmlElementNameandxmlNamehtmlAttributeNameandxmlAttributecommentandhtmlCommentstring,jsonString,xmlAttributeValueandhtmlAttributeValuecssPropertyNameandjsonKey
Is there a reason these are separated out instead of just using the same class name?
- Dominant language
- C#
- Stars
- 267
- Forks
- 58
- 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 CommunityToolkit/ColorCode-Universal
-
Json.cs: Catastrophic regex backtracking in Regex_String causes extreme slowdown with JSON arrays Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CommunityToolkit/ColorCode-Universal#36 · 6 comments ·
All issues in CommunityToolkit/ColorCode-Universal
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 ·