dzmprt

CSharp Painkiller - vs code extension for C#

10
0
100% credibility
Found May 20, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

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

1
🔍 You discover CSharp Painkiller

You find this VS Code extension while looking for ways to speed up your C# coding work.

2
📦 You install the extension

One click installs it into your VS Code, and suddenly you have new superpowers in your editor.

3
You create your first type

Right-click any folder, pick a type like 'class' or 'record', type a name, and your file appears instantly with the correct namespace.

4
You explore what else it can do
🏗️
Generate code templates

Scaffold ASP.NET controllers, MediatR handlers, or EF Core configurations with a few clicks.

🔧
Clean up existing code

Fix namespaces, rename files to match types, sort imports, or extract interfaces automatically.

👀
Let it watch your code

Real-time warnings appear when your namespaces don't match file paths or filenames don't match type names.

5
🎯 You fix issues with one click

Yellow squiggles appear under problems, and clicking them offers instant fixes that do the work for you.

6
🚗 You jump between request and handler

Working with MediatR? Click 'Go to Handler' and instantly switch between your request and its handler file.

🎉 Your project is clean and organized

Files are named correctly, namespaces match your folder structure, and boilerplate code is ready to use.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

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 Repurpose
AI-Generated Review

What is CSharpPainkiller?

CSharp Painkiller is a VS Code extension that handles the tedious, repetitive tasks every C# developer faces. It scaffolds new types, fixes namespaces, renames files to match their contents, sorts using directives, and generates mapping boilerplate. For teams working with ASP.NET Core, MediatR, or Entity Framework Core, it creates controllers, Minimal API endpoints, CQRS request/handler pairs, and EF Core configurations directly from your project's structure. Real-time diagnostics flag mismatches between file paths and namespaces, keeping your codebase consistent without manual inspection.

Why is it gaining traction?

The extension solves problems that other C# tools ignore. Most linters catch issues after you've written bad code; this one generates correct code from the start. The MediatR and MitMediator template generators infer whether a request should be a Query or Command, and the "Go To Handler" navigation lets you jump between request files and their handlers instantly. Batch operations for namespace adjustment and file renaming process entire folders at once, with progress notifications showing status.

Who should use this?

Backend C# developers working on ASP.NET Core projects with CQRS patterns should take a look. Teams using MediatR or MitMediator will benefit most from the request/handler generation and navigation features. Anyone maintaining older codebases with mismatched namespaces and filenames will find the batch refactoring tools valuable. However, developers needing stable, battle-tested tooling should verify this extension's long-term support before committing to it in production workflows.

Verdict

This extension is genuinely useful for its intended audience, but the 1.0% credibility score and 10 stars reflect a very young project with no established community. The feature set is comprehensive, but with limited documentation and unknown long-term maintenance, evaluate it in a non-critical project first before relying on it for day-to-day work.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.