L13 / vscode-projects

Manage your workspaces and projects in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=L13RARY.l13-projects
Other
18 stars 1 forks source link

Feature Request: Show Slots in Status Bar #47

Closed Jrendl closed 3 weeks ago

Jrendl commented 11 months ago

It would be cool if when you configure slots you were able to see them in the status bar and click on them to swap between them instead of using keyboard shortcuts.

L13 commented 11 months ago

Hi, you can do this right now with other extensions for example https://marketplace.visualstudio.com/items?itemName=anweber.statusbar-commands

Just copy the config below into the settings file:

{
    "statusbar_command.commands": [
        {
            "text": "1",
            "tooltip": "Slot 1",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot1"
        },
        {
            "text": "2",
            "tooltip": "Slot 2",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot2"
        },
        {
            "text": "3",
            "tooltip": "Slot 3",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot3"
        },
        {
            "text": "4",
            "tooltip": "Slot 4",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot4"
        },
        {
            "text": "5",
            "tooltip": "Slot 5",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot5"
        },
        {
            "text": "6",
            "tooltip": "Slot 6",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot6"
        },
        {
            "text": "7",
            "tooltip": "Slot 7",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot7"
        },
        {
            "text": "8",
            "tooltip": "Slot 8",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot8"
        },
        {
            "text": "9",
            "tooltip": "Slot 9",
            "priority": 0,
            "alignment": "left",
            "command": "l13Projects.action.hotkey.slot9"
        }
    ]
}
Jrendl commented 11 months ago

oh, cool! Thanks!