A Visual Studio Code extension to automate file and boilerplate generation for T3 Stack, Next.js, and React projects.
Modern fullstack applications often require repetitive setup of folders, files, and boilerplate code. The T3 Stack / Next.js / React File Generator simplifies these tasks by integrating common generation commands directly into your editor. This extension is compatible with all VSCode-based editors, including VSCode, VSCodium, WindSurf, Cursor, and others, and supports Next.js (v13 & v14), React, Prisma, Drizzle, Tailwind CSS, i18next, Zod, and other popular frameworks.

Ready to transcend your development experience?
Boost your efficiency with this VSCode extension, designed to streamline file generation for your T3 Stack project. Whether crafting individual components or kickstarting a new venture, the extension simplifies tasks through intuitive commands. Additionally, initiate your NextJS server effortlessly, enabling swift previews of your application.

T3: to view all available commands..vscode/settings.json to tailor file structure, import aliases, and naming conventions.Add or update .vscode/settings.json in your project root:
{
"nextjs.files.alias": "~", // Import alias (e.g., "~", "@", "#")
"nextjs.files.extension": "tsx", // Default file extension
"nextjs.files.showType": true, // Append type to filename (e.g., "component")
"nextjs.files.include": ["js","jsx","ts","tsx"],
"nextjs.files.exclude": [
"**/node_modules/**",
"**/dist/**",
"**/.*/**"
],
"nextjs.files.watch": ["components","pages","api"],
"nextjs.files.showPath": true, // Display path in file name labels
"nextjs.server.turbopack": true, // Enable Turbo mode (Next.js 14+)
"nextjs.server.experimentalHttps": true // Enable HTTPS (Next.js 14+)
}
Reload VS Code to apply these settings.
Use the built-in T3 Stack / Vite CLI integration:
T3: Create Project.Detailed feature and usage documentation is available in the docs folder:
T3 Stack / Next.js / React File Generator is open-source and welcomes community contributions:
bash
git checkout -b feature/your-feature
main branch.Before contributing, please review the Contribution Guidelines for coding standards, testing, and commit message conventions. Open an Issue if you find a bug or want to request a new feature.
We are committed to providing a friendly, safe, and welcoming environment for all, regardless of gender, sexual orientation, disability, ethnicity, religion, or other personal characteristic. Please review our Code of Conduct before participating in our community.
For a complete list of changes, see the CHANGELOG.md.
See also the list of contributors who participated in this project.
Auto Barrel
Automatically generates and maintains barrel (index.ts) files for your TypeScript projects.
Angular File Generator Generates boilerplate and navigates your Angular (9→20+) project from within the editor, with commands for components, services, directives, modules, pipes, guards, reactive snippets, and JSON2TS transformations.
NestJS File Generator Simplifies creation of controllers, services, modules, and more for NestJS projects, with custom commands and Swagger snippets.
NestJS Snippets Ready-to-use code patterns for creating controllers, services, modules, DTOs, filters, interceptors, and more in NestJS.
T3 Stack / NextJS / ReactJS File Generator Automates file creation (components, pages, hooks, API routes, etc.) in T3 Stack (Next.js, React) projects and can start your dev server from VSCode.
Drizzle ORM Snippets Collection of code snippets to speed up Drizzle ORM usage, defines schemas, migrations, and common database operations in TypeScript/JavaScript.
CodeIgniter 4 Spark Scaffolds controllers, models, migrations, libraries, and CLI commands in CodeIgniter 4 projects using Spark, directly from the editor.
CodeIgniter 4 Snippets Snippets for accelerating development with CodeIgniter 4, including controllers, models, validations, and more.
CodeIgniter 4 Shield Snippets Snippets tailored to CodeIgniter 4 Shield for faster authentication and security-related code.
Mustache Template Engine - Snippets & Autocomplete Snippets and autocomplete support for Mustache templates, making HTML templating faster and more reliable.
For developers who work with .vsix files for offline installations or distribution, the complementary One-Click VSIX extension is recommended, available for both Chrome and Firefox.
One-Click VSIX integrates a direct "Download Extension" button into each VSCode Marketplace page, ensuring the file is saved with the
.vsixextension, even if the server provides a.ziparchive. This simplifies the process of installing or sharing extensions offline by eliminating the need for manual file renaming.
This project is licensed under the MIT License. See the LICENSE file for details.
$ claude mcp add vscode-nextjs-generator \
-- python -m otcore.mcp_server <graph>