[Themes] Suggest only properties and attributes that are supported by the class
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Read the Sublime Text themes documentation linked in the issue and trace how PackageDev currently provides property and attribute suggestions for JSON theme rules. Verify the tab_label examples: suggest only transient and hover without attributes, and the supported shadow, font, and fg properties after transient is present.
Written by the indexing model from the issue text.
Description
As defined in https://www.sublimetext.com/docs/3/themes.html#elements, each class supports only a set of attributes and propeties, and not all of them.
PackageDev provides all properties and attributes regardless of whether the class actually supports them.
It would be handy if PacckageDev limited the suggestion provided in a rule to the properties and attributes supported by the class.
For example
{
"class": "tab_label",
"attributes": |
}
It should suggest transient and hover.
{
"class": "tab_label",
"attributes": ["transient"]
|
}
It should provide shadow and font properties and fg·
- Dominant language
- Python
- Stars
- 455
- Forks
- 86
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 1
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 SublimeText/PackageDev
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
SublimeText/PackageDev#417 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
SublimeText/PackageDev#393 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
SublimeText/PackageDev#383 ·
-
enhancement
SublimeText/PackageDev#382 · 1 comment · 1 assignee ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
SublimeText/PackageDev#379 ·
All issues in SublimeText/PackageDev
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100