Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>codegen-jsNew to Visual Studio Code? Get it now.
codegen-js

codegen-js

Florian Rappl

|
14 installs
| (0) | Free
| Sponsor
Brings syntax highlighting and snippets for using .codegen files in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

codegen logo

vscode-codegen

VS Code Marketplace Open VSX Publish Extension GitHub Tag GitHub Issues GitHub License

The official VS Code extension for codegen files.

Available in the following marketplaces:

  • VS Code Marketplace for VS Code
  • Open VSX for VSCodium, code-server and Eclipse Theia

Prerequisites

You'll need Node.js (v16+) with npm (v8+) installed for using the extension.

The extension works on all OS where VS Code is running.

Overview

This extension is a useful companion when developing web apps with bundlers that require dynamic build-time generated files.

Features

Right now the following features are part of this extension:

  • A provider for .codegen files (essentially using JavaScript as language)
  • Snippets to scaffold new codegen files efficiently

Codegen Support

With this extension you'll get support for *.codegen files. This boils down to getting JS support associated with such files.

Scaffold Pilet

Development

Installation

Clone the repository and install the dependencies using npm:

npm i

Then open VS Code (code .) and run it using F5.

Publish

For publishing the official command line tool vsce should be used.

vsce package
vsce publish -p <token>

This will package the current version of the repository and publish it. Make sure to have the right token specified. Follow the instructions outlined here to get a new one.

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