Skip to content

Latest commit

 

History

History
83 lines (67 loc) · 1.74 KB

vscode.md

File metadata and controls

83 lines (67 loc) · 1.74 KB

Mastering Visual Studio Code

Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring.

Extensions

Tips & Tricks

Key Bindings

[
  // --> WORKBENCH <--

  {
    "key": "shift+cmd+w",
    "command": "workbench.action.closeAllEditors"
  },
  {
    "key": "cmd+o",
    "command": "workbench.action.gotoSymbol"
  },
  {
    "key": "shift+cmd+o",
    "command": "workbench.action.showAllSymbols"
  },
  {
    "key": "shift+cmd+g",
    "command": "workbench.view.scm"
  },

  // --> EDITOR <--

  {
    "key": "cmd+enter",
    "command": "editor.action.peekDefinition",
    "when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
  },
  {
    "key": "shift+cmd+enter",
    "command": "editor.action.revealDefinition",
    "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
  },
  {
    "key": "shift+cmd+d",
    "command": "editor.action.selectHighlights",
    "when": "editorFocus"
  },

  // --> GIT <--

  {
    "key": "alt+cmd+s",
    "command": "git.sync"
  },

  // --> OPEN IN GTIHUB <--

  {
    "key": "cmd+m",
    "command": "extension.copyGitHubLinkToClipboard"
  },
  {
    "key": "shift+cmd+m",
    "command": "extension.openInGitHub"
  },

  // --> PHP UNIT <--

  {
    "key": "cmd+t",
    "command": "better-phpunit.run"
  },
  {
    "key": "cmd+r",
    "command": "better-phpunit.run-suite"
  }
]