core icon indicating copy to clipboard operation
core copied to clipboard

Show location of `>>>` / `/deep/` in the `...combinators have been deprecated` message

Open jacekkarczmarczyk opened this issue 2 years ago • 3 comments

What problem does this feature solve?

When using >>> or /deep/ (or probably also v-deep) combinators the warning message doesn't provide the location of where these combinators were used:

image

What does the proposed API look like?

Show the filename / line of the >>>//deep//v-deep combinator

jacekkarczmarczyk avatar Aug 03 '22 20:08 jacekkarczmarczyk

sounds helpful to locate the trouble 😄

emosheeep avatar Sep 09 '22 14:09 emosheeep

YESSS, definitely we need this. I'm going crazy because all the warnings about v-deep and I swear to god I remove them all.

MooseSaeed avatar Oct 07 '22 18:10 MooseSaeed

Maybe there is an other way to locate >>> and /deep/ which are special enough, just take a global search like this:

image

emosheeep avatar Nov 27 '22 04:11 emosheeep