https://github.com/janeysprings/dotrush
Lightweight C# development environment for VSCode
https://github.com/janeysprings/dotrush
csharp language-server vscode-extension
Last synced: about 1 year ago
JSON representation
Lightweight C# development environment for VSCode
- Host: GitHub
- URL: https://github.com/janeysprings/dotrush
- Owner: JaneySprings
- License: mit
- Created: 2023-04-01T20:46:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T18:21:49.000Z (about 1 year ago)
- Last Synced: 2025-04-02T13:55:50.620Z (about 1 year ago)
- Topics: csharp, language-server, vscode-extension
- Language: C#
- Homepage: https://open-vsx.org/extension/nromanov/dotrush
- Size: 9.79 MB
- Stars: 118
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

### C# Development Environment for Visual Studio Code
DotRush is a powerful, lightweight, and efficient **C# Development Environment** designed for **VS Code**. Built with performance and simplicity in mind, DotRush provides a seamless development experience for C# developers.
## Overview
- **C# IntelliSense**
Roslyn-based autocompletion, suggestions, and code navigation to help you write code faster.
- **.NET Core Debugger**
Debug your C# applications with the built-in .NET Core Debugger.
- **Unity Debugger**
Debug your Unity projects with the integrated Mono Debugger.
- **Test Explorer**
Run and debug your unit tests with the integrated Test Explorer.
- **Code Decompilation**
Instantly decompile code with [ICSharpCode Decompiler](https://github.com/icsharpcode/ILSpy/) to view the underlying source.
- **Multitarget Diagnostics**
Real-time linting and error detection to catch issues early in all target frameworks of your project.
- **Multi-platform Support**
Seamless integration with both VS Code and NeoVim on Windows, macOS, and Linux.
- **Performance**
Lightweight and efficient, DotRush is designed to be fast and responsive.
## Working with Projects and Solutions
If your folder contains multiple projects or a solution file, DotRush will show the following picker for all projects and solutions in the folder. DotRush automatically saves selected projects and solutions in the workspace settings. You can open it manually by executing the `DotRush: Pick Project or Solution files` command:

## Running and Debugging .NET Core Applications
To run and debug your .NET Core applications, you can use the built-in .NET Core Debugger. You can start debugging by pressing **F5** and select the **.NET Core Debugger** configuration. You can also create a `launch.json` file with the following content:
```json
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Debugger (launch)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "dotrush: Build"
},
{
"name": ".NET Core Debugger (attach)",
"type": "coreclr",
"request": "attach",
"processId": "${command:dotrush.pickProcess}"
}
]
}
```
You can change the startup project by clicking on it and executing the `Set as Startup Project` command from the context menu. You can also change the debugger options in the VSCode settings.

## Running and Debugging NUnit / xUnit Tests
To run and debug your **NUnit** or **xUnit** tests, you can use the integrated Test Explorer in VSCode. Run test by clicking on the run button next to the test or debug it by right-clicking on the run button and selecting the `Debug Test` option in the context menu.

## Debugging Unity Projects
To debug your Unity project, you can use the integrated Mono Debugger. Open the Unity project in VSCode (for example, by opening it from the Unity Editor) and start debugging by pressing **F5** and select the **Unity Debugger** configuration. You can also create a `launch.json` file with the following content:
```json
{
"version": "0.2.0",
"configurations": [
{
"name": "Unity Debugger",
"type": "unity",
"request": "attach"
}
]
}
```
You can change the debugger options in the VSCode settings.
