Open WoodenPC opened 6 days ago
VSCode can only use one TS version per window. See https://github.com/microsoft/vscode/issues/81205
So even if we can generate multiple SDKs for different versions of TypeScript, you can only pick one for VSCode to use
Not sure about if other IDEs can use multiple TS versions
@clemyan is there an example of how to generate how to generate multiple sdk for workspaces ? Or this feature does not exist yet ?
Not supported directly at the moment.
If you really need you can do that manually -- save the SDK, change the root dependency, and re-generate.
Self-service
Describe the bug
Hi, i have monorepo, and trying to switch from node_modules linker to pnp. I read migration guide and use
yarn dlx @yarnpkg/sdks vscode
. However, packages in my monorepo have different typescript versions and i cannot specify that typescript versions in vs code IDE. It sees only root package.json typescript version. How can I achieve what I wrote about ?To reproduce
-
Environment
System: OS windows 10, node 18.18.2
Additional context
No response