Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>C# Code CreatorNew to Visual Studio Code? Get it now.
C# Code Creator

C# Code Creator

Spencer James

|
61 installs
| (0) | Free
Generate C# interfaces from classes and classes from interfaces.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Features

This is initial release and has minimal features. More features will be added in future updates.

Current C# code generations:

  • Generate interface from class — Command "Generate C# Class From Interface..." (csharp-code-generator.generate-class-from-interface)
  • Generate class from interface — Command "Generate C# Interface From Class..." (csharp-code-generator.generate-interface-from-class)

Additional features:

  • On class generation from an interface, if the source interface implements a defined Interface Implementation in settings, its implementation is generated with the class.
    • Example: The interface IExample implements IDisposable and in settings there is a defined Interface Implementation for IDisposable, then it is generated with the class.
    • Note: By default, an Interface Implementation for IDisposable is defined in settings. Other common interfaces will be added by default in future updates.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft