See Installed Software for a list of installed extensions in Visual Studio Code.
CRTL+/
Comment/UncommentCTRL+.
Quick fixesCTRL+B
Toggle the sidebar visibilityCTRL+J
Toggle the panel visibilityCTRL+C
Shutdowndotnet run
Change: Properties > launchSetting.json > profiles: launchBrowser = false
References
Training
- VS Code Tutorial For C# Developers (YouTube) Dec 12, 2023
- Writing C# in VS Code Is Finally Awesome! (YouTube) Jun 8, 2023
- VSCode for the C# Developer (YouTube) Jun 7, 2023
CLI examples
cd [repository folder]
dotnet new list # List all template types
dotnet new [type] --help # Specific options
dotnet new gitignore
dotnet new sln --name VSCode
git init
git remote add origin https://github.com/KevinDHeath/VSCode.git
git branch -M main
code . # Start VS Code
md src
cd src
dotnet new webapi --name WebAPI -controllers
cd ..
dotnet sln add src\WebAPI\WebAPI.csproj
dotnet list package # List referenced packages
git remote set-url origin https://github.com/KevinDHeath/VSCode # Repo name change