Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
Marcel Kloubert edited this page Mar 14, 2019 · 4 revisions

Icons

GUI elements, like buttons or quick picks (item selectors), are able to parse and display icons inside their label texts.

The format of an icon placeholder is: $(ICON-NAME)

The example shows, how to create a button with pencil icon as prefix for its label:

{
    "ego.power-tools": {
        "buttons": [
            {
                "text": "$(pencil)  Open In Notepad",
                "action": {
                    "type": "shell",
                    "command": "\"notepad.exe\" \"${activeFile}\"",
                    "wait": false
                }
            }
        ]
    }
}