CSharply
A Visual Studio Code extension for organizing C# files using the CSharply dotnet tool.
More information: https://github.com/csim/CSharply
Features
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
- Open a C# file (.cs)
- Open Command Palette (
ctrl+shift+P)
- Run "CSharply: Organize C# File"
Organize Workspace Folder
- Open a workspace/folder containing C# files
- Open Command Palette (
ctrl+shift+P)
- 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.
| |