使用 WebStorm 查找重复项 CSS 类
Find duplicate CSS classes with WebStorm
我已经在 WebStorm 中尝试了 Inspect Code,但它只能发现无效元素、未使用的 CSS 选择器等问题,但无法找到重复的 CSS属性。
例如在我的 CSS
.reg-text {
font-weight: 400;
}
/* and somewhere deep into the CSS this class is lurking */
.reg-text {
font-weight: 500;
}
WebStorm 无法检测到此 class reg-text
实际上是重复的。如何使用 WebStorm 找到它?
目前没有办法做到这一点;请为 WEB-74 投票,以便收到有关此功能的任何进展的通知
我已经在 WebStorm 中尝试了 Inspect Code,但它只能发现无效元素、未使用的 CSS 选择器等问题,但无法找到重复的 CSS属性。
例如在我的 CSS
.reg-text {
font-weight: 400;
}
/* and somewhere deep into the CSS this class is lurking */
.reg-text {
font-weight: 500;
}
WebStorm 无法检测到此 class reg-text
实际上是重复的。如何使用 WebStorm 找到它?
目前没有办法做到这一点;请为 WEB-74 投票,以便收到有关此功能的任何进展的通知