CSharp Painkiller is a VS Code extension that makes C# development faster and less error-prone. It creates new C# files with correct namespaces, generates boilerplate code for ASP.NET, MediatR, and Entity Framework Core, automatically fixes namespace mismatches, renames files to match their types, sorts import statements, extracts interfaces from classes, and shows real-time warnings about code quality issues. Everything works through simple right-click menus and quick-fix actions.
How It Works
You find this VS Code extension while looking for ways to speed up your C# coding work.
One click installs it into your VS Code, and suddenly you have new superpowers in your editor.
Right-click any folder, pick a type like 'class' or 'record', type a name, and your file appears instantly with the correct namespace.
Scaffold ASP.NET controllers, MediatR handlers, or EF Core configurations with a few clicks.
Fix namespaces, rename files to match types, sort imports, or extract interfaces automatically.
Real-time warnings appear when your namespaces don't match file paths or filenames don't match type names.
Yellow squiggles appear under problems, and clicking them offers instant fixes that do the work for you.
Working with MediatR? Click 'Go to Handler' and instantly switch between your request and its handler file.
Files are named correctly, namespaces match your folder structure, and boilerplate code is ready to use.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.