Get-Hotkeys.ps1
# ? TITEL Get-Hotkey # ? AUTOR Attila Krick (a.krick@outlook.com) # ? VERSION 2019-05-06 enum HotkeyScope { VisualStudioCode } class Hotkey { [HotkeyScope]$Scope [String]$Hotkey [String]$Description Hotkey([HotkeyScope]$scope, [String]$hotkey, [String]$description) { $this.Scope = $scope $this.Hotkey = $hotkey $this.Description= $description } } function Get-Hotkeys { [OutputType([PSCustomObject])] Param () Process { [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + K, CTRL + S" , "Übersicht der Tastaturbelegung") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "F1" , "VSCode Kommandozeile") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + K, CTRL + 8" , "ALLE #region einklappen") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + K, CTRL + ´" , "Etwas aufklappen") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "F8" , "Aktuelle Zeile oder Selektion ausführen") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "F5" , "PS1-Datei ausführen / DEBUGGER starten") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + ALT + J" , "Snipping einfügen") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + F1" , "Online-Hilfe zum akt. CmdLet") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + +" , "Zoom in") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + -" , "Zoom out") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + Space" , "Autovervollständigung öffnen") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "CTRL + P" , "Dateien schnell öffnen") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "SHIFT + ALT + UP" , "Zeile nach oben kopieren") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "ALT + UP" , "Zeile nach oben verschieben") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "SHIFT + ALT + DOWN" , "Zeile nach unten kopieren") [Hotkey]::new([HotkeyScope]::VisualStudioCode, "ALT + DOWN" , "Zeile nach unten verschieben") } } |