VS Code Shortcuts


Commands

  • Ctrl + P: Search any file.
  • Ctrl + D: Select next occurrence.
  • Ctrl + F2: Select all occurrences for replacement.
  • Ctrl + Shift + F: Search in project files.
  • Alt + Right Arrow Key: Expand selection.
  • Ctrl + B: Toggle sidebar.
  • Ctrl + J: Toggle terminal.
  • Tab: Indent.
  • Shift + Tab: Dedent.
  • Ctrl + K, 0: Collapse tags.


Key binding for creating a new file very fastly, suppose you have opened a file and want to create a new file in same directory



f1
keyboard json keybinding
add above binding

{
        "key":"ctrl+n",
        "command": "explorer.newFile"
    }

Extensions


Prettier

Bookmark





Post a Comment

0 Comments