New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] PnPify (Typescript) for VSCode workspaces #1469
Comments
@arcanis I meant that the PnPify would support this feature https://code.visualstudio.com/docs/editor/multi-root-workspaces. Is it possible to implement? |
I've been orchestrating a similar setup, not a typical monorepo but a repo with many independent yarn projects. Would like to know if there's any way to make this better. |
We'll need a repro we can just clone to be sure we're talking about the same thing, and more info as to what doesn't work exactly would be useful (and perhaps even why?). Note that I've never used project references so I'm unlikely to make it a priority of mines, but the more info there is the more likely it is that someone will be able to find a fix if they want to address whatever the problem is. |
Hi! 👋 It seems like this issue as been marked as probably resolved, or missing important information blocking its progression. As a result, it'll be closed in a few days unless a maintainer explicitly vouches for it. |
I'm having issues with this as well. I'm not sure if this is necessarily a yarn/berry issue or something that vscode is incapable of doing at the moment. My use case is that I have a single workspace for a backend that has multiple services, each with their own repo. You should be able to repro this by creating a new workspace with multiple folders:
There is a related issue over at microsoft/vscode#108866 that didn't gain enough thumbs unfortunately. |
I also just tracked down my same issue to this. Is it correct to say that in order to use yarn 2 pnp workspaces you must create a different vscode workspace per directory? Also, this user says they have created a forked version of vscode's native tsserver to support his use case: microsoft/vscode#108866 (comment) but I haven't tried it personally. |
Describe the user story
I develop a big system that includes many Git repos. All repos use Typescript and they're added to one VSCode workspace. I very often do refactoring on all repos together. Howerer, PnPify always installed in projects folders. So I can't refactor all repos together because PnPify can't process all
.pnp.js
at once.Describe the solution you'd like
I want that it would be possible to install PnPify on the VSCode workspace level and it processes all
.pnp.js
at once.Describe the drawbacks of your solution
I think that all projects in a workspace should use PnP, I.e. I guess it's impossible to mix projects with and without PnP.
Describe alternatives you've considered
There aren't alternatives that can satisfy it.
The text was updated successfully, but these errors were encountered: