You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TS Server: means to open files in different inferred projects #16961
Problem
We are currently working on supporting multi-root workspaces in VSCode. For a multiroot project setup:
first_root
oak.js
other_root
willow.js
If a user opens oak.js and willow.js, they are currently put into the same inferred project. This results in globals being shared between the two root workspaces. We need a way to ensure files from each root workspace go into their own inferred projects
Proposal
When opening the files, we already send a projectRootPath property:
To support bucketing files into their own inferred project, we could either use the projectRootPath to differentiate which inferred project a file should go into, or we could add a new property on open to do the same
Activity
mjbvz commentedon Jul 6, 2017
We'll also need a way to configure each of these inferred projects independently using the
compilerOptionsForInferredProjectscommand