https://github.com/yracnet/dotnet-format-command
https://github.com/yracnet/dotnet-format-command
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yracnet/dotnet-format-command
- Owner: yracnet
- Created: 2025-06-06T13:49:41.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-06T14:02:50.000Z (4 months ago)
- Last Synced: 2025-06-13T22:02:55.887Z (4 months ago)
- Language: JavaScript
- Size: 34.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Dotnet Format Command
Right-click `.cs` files or folders to run `dotnet format` directly from the context menu.
## Features
- π Format C# files using `dotnet format`
- π Works on single files or entire folders
- βοΈ Automatically creates a `.editorconfig` if none is found## Requirements
You must have the [.NET SDK](https://dotnet.microsoft.com/download) installed and accessible via the `dotnet` command.
## Usage
- Right-click a `.cs` file or folder in the **Explorer** or **Editor**
- Select:
- **RUN: Dotnet Format**
- **RUN: Dotnet Format**Thatβs it β the command runs `dotnet format --include ` in the background.
## Note
If no `.editorconfig` file is found in your project root, one will be created automatically with default formatting rules.