Using PowerShell Pro Tools for Visual Studio Code you can automate the editor itself. This allows you to script repetitive actions you may take within Visual Studio Code. You can edit documents, show information and more.
Getting Started
To automate Visual Studio Code, you will need to first import the PowerShell Pro Tools VS Code module .
1
PS C:\> Import-Module PowerSHellProTools.VSCode
Copied!
Once the module is loaded, you can begin running commands.
You can clear decorations by using the Clear-VSCodeTextEditorDecoration cmdlet. If you want to only clear a single decoration, you can specify the key.