Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>C# New ClassNew to Visual Studio Code? Get it now.
C# New Class

C# New Class

hunter-blazorExtensions

|
5,544 installs
| (1) | Free
Make a new class context menu
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

First I showcase the extension using images then I write about the extension towards the end of the readme.

Step 1: Create a .net project and right click a folder then click 'New C# Class' in the context menu.

1

Step 2: Type in a class name

2

Step 3: (this step is here to showcase what I entered)

3

Step 4: Alter the generated namespace to your liking (or write a new one entirely)

4

Step 5: (this step is here to showcase what I entered)

5

Step 6: The Test.cs file was created in the selected directory.

6

The repo is on github publicly and is located at https://github.com/huntercfreeman/VSCExtenNewCsharpClass

I am working on other Blazor extensions for VSCode.

So, stay tuned for more.

I can be reached at huntercfreeman@gmail.com.

I will happily take extension requests the only requirement is that they are Blazor related.

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