4 ms·
CSS preprocessors are often used in a way that hurts "greppability". For example, SCSS developers often break identifiers like .product { &-promo {
by codedokode 2y ago
CSS preprocessors are often used in a way that hurts "greppability". For example, SCSS developers often break identifiers like
.product {
&-promo {
I always felt it was a bad practice but nevertheless it is often used. Glad to find out that I am not the only one who noticed this.
Of course, one might say that I should have used a specialized tool for this. But it would be more convenient if I could search anything with text search. Also, there is no tool that allows to search over identifiers that are calculated in runtime in a program.