abe33 / abe33/atom-pigments

[Feature Request] Also color variables

未關閉
#322 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
CoffeeScript
星號
518
分支
70
PR 合併指標
30 天內沒有已合併 PR

描述

For example if I'm doing

```javascript
const mycolor = '#f00';
console.log(mycolor); // this should be red.
```

or

```javascript
const obj = {
mycolor : '#f00'
}
console.log(obj.mycolor) //this should be red color
```

貢獻指南

開啟貢獻指南

研究方向

Look at the color parsing and highlighting logic in the atom-pigments package, likely in the lib/ directory. Understand how it currently detects color literals in code. Then extend that logic to also identify variables and object properties that hold color values. Test by modifying the package and checking if the examples in the issue display in red.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
coffeescript, javascript
領域
developer-experience, tooling
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。