abe33 / abe33/atom-pigments

Pigments showing duplicate variable entries in autocomplete?

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

描述

Hi,

Whenever i type a hash to open all my color variables and pick one (typing the variable names doesn't preview the colors anymore...), I get two of every color. I ticked merge duplicate colors thinking that might help but nada.

Like so:
![image](https://user-images.githubusercontent.com/32378871/31061369-1c6983fc-a77d-11e7-91d1-c14b65f590b2.png)

If you need a log or anything, could you let me know how? I'm very new to Atom :)

Edit: Just noticed one is using underlines, and one dashes - any significance there?

貢獻指南

開啟貢獻指南

研究方向

Look at the autocomplete provider in the pigments package, likely in lib/ or src/. Check how color variables are parsed and deduplicated, focusing on the handling of underscores vs dashes. Run the package in dev mode and inspect the autocomplete suggestions to see where duplicates originate.

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

評估

技術堆疊
coffeescript
領域
devtools
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

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

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