Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>C# StretchNew to Visual Studio Code? Get it now.
C# Stretch

C# Stretch

Jaco Kok

|
4,873 installs
| (1) | Free
Simple VSCode extension to improve c# experience
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C# Stretch

Simple VSCode extension to improve and stretch c# experience

C# Stretch logo

Features

Create New Class

You can create a class from the context menu with modern C# syntax and namespace.

Screenshot

namespace TestMake.Features.PDF;

public class NewClass
{
    
}

Create Interface

namespace TestMake.Features.PDF;

public interface NewInterface
{
    
}

Create Old Class

namespace TestMake.Features.PDF
{
    public class OldClass
    {
        
    }
}

Create Old Interface

namespace TestMake.Features.PDF
{
    public interface OldInterface
    {
        
    }
}

Namespace

The namespace can be derived from folder path. Additionally the root namespace can also be specified in the .csproj file.

<RootNamespace>TestMake</RootNamespace>

Fill Namespace

Example

Fix Namespace

Example

Settings

Example

  • Can disable context menu completely.
  • Can toggle context menu options on and off

Why This Extension

  • Lightweight and super simple
  • No external dependencies
  • Private (No Data collection or telemetry)
  • Modern C# syntax (As well as option to enable old namespace syntax)
  • Context menu to create C# files only visible after C# language activation (This drove me to create this extension)
  • Context menu settings to show and hide items

Special Thanks

Greatly inspired and using code from:

C# Namespace Autocompletion

C# Extensions

C# Helper

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