This will increase the size of the repo!
This could potentially become a very big problem depends on how your app is structured. For instance, if you have a monolithic app that has, it has decoupled components (modules or whatever you want to call it), and each of them has theirs on vendor directory, this will make your app huge.
This brings problems with IDE indexing taking forever, and even downloading the repo.
Yeah exactly of course it will take too much time to index in my IDEs.
But isn't the IDE going to take that much time anyway once you install the dependencies?
This has absolutely no impact on indexing in IDE. In both cases the same files are indexed. No overhead.
It will have to be indexed and downloaded regardless of whether it's from the repo or some web storage.
Try ripgrep or fzf, they're pretty great at fast searching.
Maybe this way devs will realize how much code they really have in their app.
Probably dead code, untested code and so on. Package managers make things so easy to throw away performance, lower level concerns and build sizes.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.