If you want to change the indexing depth for all packages, you can set the name to an empty string "". "python.analysis.packageIndexDepths": [ { "name": "", "depth ...