Global Settings - egodigital/vscode-powertools GitHub Wiki

settings.json

The following features can be defined globally without having a relationship to a workspace:

Press CTRL + , and edit the settings.json, by using the ego.power-tools.user property:

{
    "ego.power-tools.user": {
        "buttons": [
            {
                "text": "Click me!",
                "tooltip": "You run an awesome script by clicking that button!",
                "action": {
                    "type": "script",
                    "script": "my_button.js"
                }
            }
        ]
    }
}

Relative paths, for script files e.g., will be mapped to the .vscode-powertools sub folder inside the current user's home directory.

Extension settings

Press F1 and select Power Tools: Global Settings to open the web view with the extension settings.