Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>GenotypeNew to Visual Studio Code? Get it now.
Genotype

Genotype

No Corp

|
24 installs
| (0) | Free
Genotype language support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Genotype for VS Code

Language support for Genotype, a language for defining types and generating code in multiple programming languages.

The extension adds syntax and semantic highlighting, a formatter for .type files and a language server with rich IDE features.

Install from the Visual Studio Marketplace or Open VSX.

See the Genotype documentation to get started.

Syntax Highlighting

Syntax highlighting is automatically provided for .type files regardless of the presence of the gt CLI or genotype.toml project configuration.

Formatter

To enable formatting on save, add this to your VS Code settings:

{
  "[genotype]": {
    "editor.defaultFormatter": "nocorp.genotype",
    "editor.formatOnSave": true
  }
}

Language Server

Install the Genotype CLI and make sure gt is available on VS Code's PATH.

The extension starts gt lsp automatically when you open a Genotype file.

To use a custom CLI location, set genotype.server.executable:

{
  "genotype.server.executable": {
    "command": "/path/to/gt",
    "args": ["lsp"]
  }
}

Symbols Rename

The extension allows two-way symbol renaming between Genotype .type files and the generated code in supported target languages.

When renaming from .type files, use F2 or the Rename Symbol command to trigger the cross-language rename.

When renaming a Genotype-generated symbol from a target language file, use the Genotype: Rename Across Languages command or Rename Across Languages context menu item to trigger the cross-language rename back to the corresponding .type file.

Coordinated rename currently rejects types that generate additional named object types in Rust or Python (for example, UserAddress from a nested object in User). This prevents leaving derived declarations and their consumers unchanged. Navigation remains available for these types.

Semantic Highlighting

To enable semantic highlighting provided by the Language Server, use the global VS Code setting:

{
  "editor.semanticHighlighting.enabled": true
}

License

MIT © Sasha Koss

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