VS CODE KEYBOARD HACKS WILL BE POSTED HERE

VS CODE KEYBOARD HACKS WILL BE POSTED HERE
Page content

UPDATED ON: 2024-04-05

All keyboard hacks and tweaks will be posted here.
Stay tuned for more goodies!

THE MAIN PURPOSE OF THIS LITTLE ACCUMULATION IS TO REMOVE MOUSE FROM CODING WORKFLOW.

Remember to separate rules with comas. Like this:

 [
  {
    "key": "alt+numpad_subtract",
    "command": "workbench.action.decreaseViewSize"
  },
  {
    "key": "alt+numpad_add",
    "command": "workbench.action.increaseViewSize"
  },
  {
    "key": "ctrl+shift+b",
    "command": "workbench.action.toggleActivityBarVisibility"
  }

 ]

Last rule-set do not contain coma symbol in the end.


░▒▓ MOUSELESS WINDOW RESIZE

CTRL+SHIFT+P

Begin to enter:

key

Select:

Preferences: Open Keyboard Shortcuts (JSON)

or simply find in program folder:

keybindings.json

And add the following lines:


  {
    "key": "alt+numpad_subtract",
    "command": "workbench.action.decreaseViewSize"
  },
  {
    "key": "alt+numpad_add",
    "command": "workbench.action.increaseViewSize"
  }

This setting will assign [ALT]+[NUMPAD -] & [ALT]+[NUMPAD +] to window resizing. Save config file to apply.


░▒▓ HOW TO CREATE FILE/FOLDER IN EXPLORER

  {
    "key": "alt+n",
    "command": "explorer.newFile"
  },
  {
    "key": "alt+shift+n",
    "command": "explorer.newFolder"
  }

░▒▓ HOW TO UPPERCASE SELECTED TEXT

  {
    "key": "alt+shift+u",
    "command": "editor.action.transformToUppercase"
  }

░▒▓ HOW TO TOGGLE ANNOYING LEFT SIDEBAR

  {
    "key": "ctrl+shift+b",
    "command": "workbench.action.toggleActivityBarVisibility"
  }

░▒▓ HOW TO FAST-SWITCH BETWEEN EDITOR & FILE EXPLORER

  {
    "key": "ctrl+0",
    "when": "sideBarFocus",
    "command": "workbench.action.focusActiveEditorGroup"
  }

░▒▓ OPEN FILE PALETTE WITH ONE KEY

  {
    "key": "shift shift",
    "command": "workbench.action.quickOpen"
  }



Be sure to check [essential hotkeys of VS Code] also.

► MORE TWEAKS TO COME!