Log C# Variable

Overview
Log C# Variable is a Visual Studio Code extension that allows developers to quickly insert Console.WriteLine statements for debugging C# variables.
Features
- Automatically inserts
Console.WriteLine for selected variables.
- Includes file name, line number, class, and function name in the log message.
Installation
- Open Visual Studio Code.
- Go to Extensions (
Ctrl+Shift+X ).
- Search for Log C# Variable.
- Click Install.
Alternatively, install via command line:
code --install-extension log-c#-variable
Usage
- Select a variable or expression in a C# file.
- Press
F6 to insert a Console.WriteLine statement.
Default Keybinding
- F6: Insert
Console.WriteLine for selected text.
Repository
For issues and contributions, visit our GitHub repository: GitHub Repo
License
MIT License
| |