Autocomplete in vscode with emitPackage: true in pnpm workspace #1712
Unanswered
totomakers
asked this question in
Q&A
Replies: 1 comment 3 replies
-
using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
Problem
I try to have autocomplete support in a pnpm workspace monorepo with vscode in a workspace.
Current config
What i have try
I have tried what provide the documentation:
https://panda-css.com/docs/installation/nextjs#i-dont-see-any-import-autocomplete-in-my-ide
But it's only work if you don't have
emitPackage: true
, include in tsConfig seem ignore if it's inside node_modules.Workaround
All my package generate something in
@acme/styled-system
with pnpm monorepo you can do this workaround:"@acme/styled-system": "*"
in depencies / devDepencies.pnpmfile.cjs
at the root and doing this:This way i manage to have autocomplete - the CI seem pass and DX is good (well when frontend is start, and ts reloaded i have my autocomplete support)
Seem a way to do it, but don't know if you know another way to achieve this
Beta Was this translation helpful? Give feedback.
All reactions