Does this issue occur when all extensions are disabled?: Yes/No
Yes
❯ code --version
1.114.0
e7fb5e96c0730b9deb70b33781f98e2f35975036
arm64
❯ sw_vers -productVersion
26.3.1
# (macos)
Steps to Reproduce:
- Have a reasonable sized monorepo (uses pnpm)
❯ ag -g package.json | wc -l
113
❯ ag -g tsconfig.json | wc -l
80
- don't use project references (uses turbo / caching + package-centric build methodology (package.json#exports point at a "dist", etc)
- open vscode in the root of the monorepo
- observe that
- ^TS 5 + VS 1.113 = works
- ^TS 5 + VS 1.114 = issue
- ^TS 6 + VS 1.113 = same issue
- ^TS 6 + VS 1.114 = same issue
the issue
VSCode shows in the status bar: initilizing 'tsconfig path', for each project upon opening a TS file (even with no extensions enabled). It seems to iterate over all projects in a loop, and can run for at least dozens of minutes without end.
The config with TS 5 + 1.113 settles very fast, and appears to just initialize the project nearest the open file (which is correct).
It seems like a bug that projects unrelated to the open file are initialized.
Additionally, it seems like a bug that all of these projects are initialized in a loop forever.
Does this issue occur when all extensions are disabled?: Yes/No
Yes
Steps to Reproduce:
the issue
VSCode shows in the status bar:
initilizing 'tsconfig path', for each project upon opening a TS file (even with no extensions enabled). It seems to iterate over all projects in a loop, and can run for at least dozens of minutes without end.The config with TS 5 + 1.113 settles very fast, and appears to just initialize the project nearest the open file (which is correct).
It seems like a bug that projects unrelated to the open file are initialized.
Additionally, it seems like a bug that all of these projects are initialized in a loop forever.