Development Setup
December 5, 2025 ยท View on GitHub
Quick Start
# Install all dependencies (uses pnpm workspaces)
pnpm install
# Build TypeScript
pnpm build
# Watch mode for development
pnpm watch
Available Commands
| Command | Description |
|---|---|
pnpm install | Install all dependencies |
pnpm build | Build all packages |
pnpm watch | Watch mode for development |
pnpm test | Run unit tests in all packages (via Turborepo) |
pnpm test:e2e | Run VS Code E2E tests |
pnpm lint | Lint all packages |
pnpm typecheck | Type-check all packages with TypeScript |
pnpm format | Format code with Prettier |
pnpm clean | Remove untracked files and directories (incl node_modules) |
Commands are orchestrated by Turborepo. See
turbo.json for task dependencies.
Build System
The VS Code extension uses esbuild for bundling. See Build System for details on:
- What gets bundled vs. copied as static assets
- pnpm symlink resolution
- Build output structure
Running the Extension Locally
- Open VS Code in this repository
- Press
F5or go to Run and Debug โ Launch VS Code extension - A new VS Code window opens with the extension loaded
- Open any
.prismafile to test
Debugging the Language Server
- Start the extension (above)
- In the debug panel, also run Attach to Server
- Set
"prisma.trace.server": "verbose"in VS Code settings for detailed logs