csscss icon indicating copy to clipboard operation
csscss copied to clipboard

Multiple Rulesets with exact same Selector

Open aunueget opened this issue 10 years ago • 2 comments

@zmoazeni Thanks for the great tool Is there anything that does this? If not I would be interested contributing this.

Example css file:

.pizza{
    font-size: 16px;
    color: #ff0000;
    display: none;
}

.pizza {
    overflow: auto;
    padding: 1em;
}

If i run csscss on the above file i would like to get something like:

2 rule sets with same selector ".pizza"  at Lines: 1 , 7

aunueget avatar Aug 20 '15 15:08 aunueget

Sounds a bit like https://github.com/zmoazeni/csscss/issues/93 - I'd welcome a PR!

I'm also curious about the line mapping too. That'd be pretty nice.

zmoazeni avatar Aug 20 '15 16:08 zmoazeni