Cheat Sheets
Visual Studio Code https://www.markdownguide.org/cheat-sheet/
Must have tools for Windows
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
"Chrome", "Telegram", "CLCL", "Lightshot", "F.lux", "Onenote", "Enpass", "Vscode", "7zip" | % { choco install $_ -y }
VSCode
What? | Command |
---|---|
Word Wrap | ALT + Z |
File Explorer | CTRL SHIFT + E <search-term> |
Hide left bar | CRTL + B |
Terminal/Hide Terminal | CTRL + ' |
Command Pallete | F1 or CTRL SHIFT + P |
Open folder | CTRL (hold) + K, O |
Find text | CTRL + F |
Search across all files | CTRL SHIFT + F |
Select all found matches | ALT + Enter |
Open External CMD | Ctrl + Shift + C |
Move text up | ALT + UP |
Move text down | ALT + DOWN |
vscode
# install
dotnet tool install --global dotnet-aspnet-codegenerator
# auto-complete code for dotnet
code $profile
# PowerShell parameter completion shim for the dotnet CLI
Register-ArgumentCompleter -Native -CommandName dotnet -ScriptBlock {
param($commandName, $wordToComplete, $cursorPosition)
dotnet complete --position $cursorPosition "$wordToComplete" | ForEach-Object {
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)
}
}