Finding package that imports a module

Dawid Laszuk published on
1 min, 84 words

The best way to understand what an import is introducing is to remove it and see what breaks. The even better way is to not do implicit imports. But sometimes we can't have things we like.

I've been software engineering for, I think, a long while but still often get confused by which imports introduce what. Especially in java, javascript and dart/flutter.

When working with IDE, commenting out an import often triggers validation error and the IDE will highligh which symbols are missing.