Skip to content

Instantly share code, notes, and snippets.

@develax
Last active May 5, 2024 12:47
Show Gist options
  • Save develax/5bbd06edbec8d3a9706a5ea5f76526cb to your computer and use it in GitHub Desktop.
Save develax/5bbd06edbec8d3a9706a5ea5f76526cb to your computer and use it in GitHub Desktop.
VSCode + TypeScript setup

VSCode + TypeScript setup

Set TS version for VSCode intellisence

VS Code command palette: > TypeScript: Select TypeScript version

@develax
Copy link
Author

develax commented Apr 18, 2024

Format TypeScript Document
This will format the entire document.

  • Windows/Linux: Shift + Alt + F
  • macOS: Shift + Option + F

Format Selection

  • Windows/Linux: Ctrl + K Ctrl + F
  • macOS: Cmd + K Cmd + F

Duplicate code line
Alt + Shift + Down Arrow or Alt + Shift + Up Arrow

@develax
Copy link
Author

develax commented May 5, 2024

Check TypeScript versions: npm list typescript

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