How to exclude npm package from autocomplete?
I use the @mui/icons-material package which has 1000+ export files and every time I type and suggestions are shown it starts lagging for 1-2 seconds trying to find a match inside then it gives about 100-200 suggestions from the package.
Is there any possibility to turn off indexing a specific npm package?
Please sign in to leave a comment.
Normally this has to be done with Mark directory as/Excluded, but this action is not available for node_modules packages, as they are already excluded, but indexed because of being added to auto-generated javascript library. So you have to either comment out the corresponding package in the package.json or disable the predefined library and add your own one, with only desired packages included