79360511

Date: 2025-01-16 06:03:29
Score: 1
Natty:
Report link

One can use the extension Toggle to create the keyboard shortcut for wrap tabs as follows.

  1. Install the Toggle Extension.

  2. Open the keybindings.json file: open_keybindings.json


  1. Add the following in the keybindings.json file. It will create "Shift+Alt+W" keybinding to toggle the wrapping of tabs:
{
    "key": "shift+alt+w",
    "command": "toggle",
    "args": {
        "id": "wrapTabs",
        "value": [
            {
                "workbench.editor.wrapTabs": true
            },
            {
                "workbench.editor.wrapTabs": false
            }
        ]
    }
},
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aditya Jain