title: Typescript: Yarn Workspaces IDE Support (IntelliJ, VSCode ...)
body: <p>Working on a larger typescript project we decided to move the code to a monorepo with <strong>yarn workspaces</strong>.</p>
  
  <p>We use <strong>webpack</strong> to build and bundle and everything works well (especially the linking between local modules/packages).</p>
  
  <p>Since yarn workspaces will store most of the node_modules in the mono repo's root folder, the IDE (IntelliJ as well as VSCode) have problems resolving the imports to any node_modules when coding inside a "inner" project (so called "package" of a monorepo).</p>
  
  <p>The strange thing is that imports are not known but on the other hand most of the time you can navigate to the correct source / definition within the IDEs for the same import if you write it down manually.</p>
  
  <p>We have tried to tell IntelliJ to look into another folder for node_modules, but still not satisfying.</p>
  
  <p>Please <strong>share your experience with yarn workspaces / monorepo</strong> (e.g. lerna) and how you develop the code living in these monorepos.</p>
  
  <p>Which IDE do you use? </p>
  
  <p>Did you add any special configurations to the IDE and/or package.json, tsconfig.json?</p>