Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CoreGenNew to Visual Studio Code? Get it now.
CoreGen

CoreGen

Lorenzo Busi

| (0) | Free
VS Code / Cursor UI for the CoreGen CLI. Requires the coregen command on your machine: pip install coregen (and PATH that includes the script), or set coregen.executablePath to the full executable path.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CoreGen (VS Code / Cursor)

Extension that wraps the CoreGen CLI: command palette, Quick Input wizards, and Explorer context menu to scaffold Flutter projects with a DDD-style layout.

Useful links

Resource URL
CoreGen website (docs, getting started) coregen.dev
CLI on PyPI (recommended install) pypi.org/project/coregen
Monorepo source (issues, PRs, extension under vscode-extension/) github.com/lorenzo9598/coregen

Install the CLI from PyPI, for example:

pip install coregen

Versions: extension ↔ CLI

The extension semver (package.json → version) reuses the CoreGen CLI major.minor it is designed and tested against. The extension patch only tracks UI releases (fixes, editor compatibility), not the CLI patch on PyPI: the CLI can be 3.1.4 while the extension is 3.1.0, 3.1.1, … as long as it stays on the 3.1.x line.

What Where to read it
Extension (this package) version in package.json
CLI in the monorepo project.version in pyproject.toml (repo root)
CLI on your machine coregen --version / pip show coregen

Release notes for the Marketplace / GitHub are in CHANGELOG.md (CLI compatibility is noted there on every bump).

Requirement: the CoreGen CLI

This extension does not ship the executable. The coregen command must be available on your machine. The official package is on PyPI — coregen.

  1. Typical install (PATH)

    pip install coregen
    

    (see also the PyPI page for versions and metadata.)
    Make sure the coregen script is on the PATH of your terminal and of the process that starts VS Code / Cursor (on macOS/Linux often ~/.local/bin).

  2. Custom path
    If you do not use PATH, set coregen.executablePath in Settings to the full path of the executable (e.g. /opt/coregen/bin/coregen or C:\\Tools\\coregen.exe).

Without a correctly configured CLI, extension commands will fail with an error in the Output panel → CoreGen channel.

What the extension provides

Area Behavior
Command Palette CoreGen: … commands (Create, Add Page, Add Domain, …).
Explorer Right-click a folder → CoreGen submenu to run the same flows with folder context.
Output CoreGen: Show Output shows CLI logs. Default shortcut: Cmd+Shift+Alt+F (macOS) / Ctrl+Shift+Alt+F (Windows/Linux), editable in Keyboard Shortcuts.

Commands

Command Description
CoreGen: Create New project (create with name, optional login).
CoreGen: Add Page add-page.
CoreGen: Add Domain add-domain (optional fields; non-interactive mode when empty).
CoreGen: Add Component add-component with domain model / field options.
CoreGen: Add Enum add-enum.
CoreGen: Show Output Opens the CoreGen log.

Explorer

Right-click a folder → CoreGen → Add Page / Add Domain / Add Component / Add Enum. The extension walks up to pubspec.yaml to find the Flutter root and suggests --folder for components under lib/.

License

The VSIX package and this folder include LICENSE.md (MIT). The license field in package.json is MIT.

Development and VSIX packaging

cd vscode-extension
npm install
npm run compile
  • F5 with this folder open: Extension Development Host.
  • Packaging: npm run package (uses vsce from devDependencies) or npx @vscode/vsce package.

Git repository and npm metadata: see repository and bugs in package.json. The product website is coregen.dev; in package.json, homepage points at the CLI PyPI project (install).

Extension version history: CHANGELOG.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft