Object literal property has incorrect color in Sublime 4169
- Dominant language
- JavaScript
- Stars
- 3.2k
- Forks
- 169
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/babel/babel-sublime/blob/2b3608cd8b555e3e16df5585e11543085658afbd/JavaScript%20(Babel).sublime-syntax#L2801
```diff
- scope: string.unquoted.js
+ scope: string.quoted.js
```
before

after

I'm not entirely sure if this is a problem on my end, but the property color of the object literal has always had the color of a string (yellow), and after updating to 4169 it got the color of a keyword (red) instead. Maybe that scope no longer exists or for whatever reason it now defaults to the keyword color, no other changes on my end besides updating Sublime Text.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open JavaScript (Babel).sublime-syntax at line 2801 and inspect the scope assigned to object literal properties. Reproduce the color difference in Sublime Text 4169, verify the intended string coloring, and confirm the syntax definition produces the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100