on-internet
← Community

VS Code auto-import suggestions not working for local workspace package in Turborepo (Next.js + Bun + TypeScript)

Stack Overflow ·

I'm setting up a Turborepo monorepo with Bun, and I have a shared UI package that is consumed by my Next.js application. The package works correctly if I manually import components, but VS Code does not show auto-import or IntelliSense suggestions for components from the shared package. For example, if I create a new component like Badge.tsx inside packages/ui/src, I expect VS Code to suggest it and automatically add the import when I type <Badge /> or start typing Badge. Instead, I have to manually write the import: import { Button } from "@repo/ui"; After manually importing it, everything wo

Comments

Sign in or sign up to comment and upvote.

No comments yet.