Skip to content

Instantly share code, notes, and snippets.

@gregberns
Last active June 26, 2018 20:27
Show Gist options
  • Save gregberns/d7e0a081d534170fd5916513c82ac98f to your computer and use it in GitHub Desktop.
Save gregberns/d7e0a081d534170fd5916513c82ac98f to your computer and use it in GitHub Desktop.
How to set up VSCode with helpful features

VSCode

Linting TS Files

Install 'TSLint' plugin

Run this command:

npm install -g tslint typescript

Trim Whitespace

Go into “Code > Prefereneces” then add this to the json file

"files.trimTrailingWhitespace": true,

Tab Size

Go into “Code > Prefereneces” then add this to the json file

"editor.tabSize": 2,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment