There is another possibel reasion is VScode `s workspace has import to many folders, it can be doing well on highlight if import less folders.I think the reasion for error is to VScode dont know the where the lib really come from so it scan all the folder to find the lib,it can be overload for VScode when there is to much folders
sorry,my English is not good.