External Libraries

已回答

I'm in a project that is a subfolder in a folder with all my github projects; i.e. `Github/project_dir`. But now over time folders from my other projects are now appearing at the bottom in the `External Libraries` section in with the `tsconfig$paths` as `Github/other_project_dir1 , Github/other_project_dir2 , Github/other_project_dir3…`. I think they slowly appeared in there as I copied and pasted code from the different folders.

  1. Is there a way to get rid of them?
  2. Does it have implications on memory from indexing
0

Thank you for reaching out to us!

What does your project tsconfig.json look like? Does it include references to files located outside of the project directory? 

Also, please check Preferences | Languages & Frameworks | JavaScript | Libraries - do you have tsconfig$roots or tsconfig$paths libraries there?

 

0

I double checked my tsconfig files and one of my aliases had one too many `..` . When I removed it, they went away. Thanks Elena

0

请先登录再写评论。