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.