Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CSharplyNew to Visual Studio Code? Get it now.
CSharply

CSharply

Clint Simon

|
4 installs
| (0) | Free
C# file organizer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CSharply

A Visual Studio Code extension for organizing C# files using the CSharply dotnet tool.

More information: https://github.com/csim/CSharply

Features

  • Organize File: Organize the currently active C# file.

  • Organize Folder: Organize all C# files in the current workspace folders.

Requirements

The CSharply dotnet tool must be installed and available in your system PATH. It is installed automatically when the extension activates.

To manually install run: dotnet tool install csharply --global

Usage

Organize Current File

  1. Open a C# file (.cs)
  2. Open Command Palette (ctrl+shift+P)
  3. Run "CSharply: Organize C# File"

Organize Workspace Folder

  1. Open a workspace/folder containing C# files
  2. Open Command Palette (ctrl+shift+P)
  3. Run "CSharply: Organize all C# files in workspace folders"

Note: Add a key binding (ctrl+k ctrl+s) to these commands as a shortcut.

Commands

  • csharply.organize.file - Organize open C# file
  • csharply.organize.workspacefolders - Organize all C# files in workspace folders

License

This extension is released under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft