English | 简体中文
A lightweight tool for quickly validating C# code snippets, built with Roslyn and monaco-editor. Similar to LinqPad, with AI chat, AI completion, and AI edit support.
The PC version provides a better experience. Starting from version 0.2.0, only the PC version is provided.
- Download the Windows or macOS release package
- Extract and run SharpPad.Desktop.exe
- Open your browser and navigate to: http://localhost:5090
- Enjoy!
- https://try.dotnet10.com (Old version)
- Download the release package
- Extract and run SharpPad.exe
- Open your browser and navigate to the ip:port shown in the console
In the project root directory:
- Run new service:
docker compose up -d - Update service:
docker compose build sharppad && docker compose down && docker compose up -d - Stop service:
docker compose down
https://github.com/gaoconggit/SharpPad/tree/main/KingOfTool

- Download configuration
- Create a directory in SharpPad
- Right-click in the directory and select import KingOfTool.json
- Git clone the repository
- Launch the SharpPad project in Visual Studio
- Use
Ctrl + Enterto run "Hello World"
Ctrl + Enter- Run codeAlt + C- Clear outputCtrl + J- Code suggestionsCtrl + KCtrl + D- Format codeCtrl + S- Save codeAlt + L- Clear chat history (when cursor is in chat box)Ctrl + Shift + Space- Manually trigger GPT auto-completionCtrl + Shift + K- AI code editingCtrl + D- Duplicate line
Cmd + Enter- Run codeCtrl + Option + C- Clear outputCmd + J- Code suggestionsCmd + KCmd + D- Format codeCmd + S- Save codeCmd + Shift + Space- Manually trigger GPT auto-completionCmd + Shift + K- AI code editingCmd + D- Duplicate line
- Intelligent code suggestions
- NuGet package import support
- Multi-directory support
- Directory import/export functionality
- AI chat
- AI auto-completion
- Multiple model switching
- Theme switching
- Current directory only view
- C# version selection support
- Mobile-friendly UI
- Visual Studio breakpoint debugging integration (see Debugger.md)
- Windows and macOS PC clients (macOS Silicon / Windows)
- NuGet package management page
- Multi-file support
- WinForms application execution support
- Web API execution support
- Avalonia execution support
- Work in Progress
- Native breakpoint debugging
- Thanks to monacopilot for GPT auto-completion functionality.