Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Prisma NextJSNew to Visual Studio Code? Get it now.
Prisma NextJS

Prisma NextJS

William Luke

|
103,783 installs
| (1) | Free
Automagicly add types to **nextjs** page functions i.e `getStaticSideProps`, `getServerSideProps` the returned types can not be automatically inferred and passed to the page. This extension also enables type safety in js code by leveraging JSDOCs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Prisma-Nextjs

Features

Automagicly add types to nextjs page functions i.e getStaticSideProps, getServerSideProps the returned types can not be automatically inferred and passed to the page.

This extension also enables type safety in js code by leveraging JSDOCs


Requirements

A Project with next as a dependency in your package.json

Extension Settings

Name Description Default
WillLuke.nextjs.root Option to set the path to a nextjs project
WillLuke.nextjs.hasPrompted Hides Autotypes Prompt if it has been shown false
WillLuke.nextjs.addTypesOnSave Automatically add NextJS page types on save false
WillLuke.debug Debug the Extension false

Known Issues

  • Workspaces not Supported

Development

Installing

git clone https://github.com/prisma-labs/vscode-next.git
cd vscode-next
yarn

Debugging/Developing

Use VSCode built in debugger and select Run Extension

Packaging

yarn pkg
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft