Skip to content

Instantly share code, notes, and snippets.

@sigorilla
Last active January 11, 2018 14:14
Show Gist options
  • Save sigorilla/b7671456d8a15afc7068aa17706a3ef4 to your computer and use it in GitHub Desktop.
Save sigorilla/b7671456d8a15afc7068aa17706a3ef4 to your computer and use it in GitHub Desktop.

Features

The below features are available via the keyboard shortcuts shown, or via the Command Palette:

Feature Shortcut
Rename Ctrl + T Ctrl + M
Find references Ctrl + T Ctrl + R
Next reference Ctrl + T Ctrl + N
Prev reference Ctrl + T Ctrl + P
Format document Ctrl + T Ctrl + F
Format selection Ctrl + T Ctrl + F
Format line Ctrl + ;
Format braces Ctrl + Shift + ]
Navigate to symbol Ctrl + Alt + R
Go to definition Ctrl + T Ctrl + D or F12
Trigger completion Ctrl + Space
Trigger signature help Alt + ,
See previous signature in the tooltip Alt + Up
See next signature in the tooltip Alt + Down
Paste and format Ctrl + V or Cmd + V
Quick info Ctrl + T Ctrl + Q
Build Cmd + B or F7
Error list (via Command Palette)

The "format on key" feature is on by default, which formats the current line after typing ;, } or enter. To disable it, go to Preferences -> Package Settings -> TypeScript -> Plugin Settings - User, and add "typescript_auto_format": false to the json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment