Skip to content

Instantly share code, notes, and snippets.

@tuanngominh
Last active July 15, 2019 10:03
Show Gist options
  • Save tuanngominh/aa0e35696d325b8d53e1ba9d7ccb0b9e to your computer and use it in GitHub Desktop.
Save tuanngominh/aa0e35696d325b8d53e1ba9d7ccb0b9e to your computer and use it in GitHub Desktop.
vscode for angular, typescript, python

theme

https://www.monokai.pro

angular + typescript

https://code.visualstudio.com/docs/languages/typescript#_typescript-extensions

python

# Setup python development with VSCode
# assume that python3 is already installed on macosx

# Setup virtual enviroment using `venv` for `project1`
cd projects-folder
mkdir project1 && cd $_
python3 -m venv env

# Open project folder using VSCode
code . 

# Using VSCode's command `Python: Select Intepreter` to select virtual enviroment for 
# linting and running code in VSCode
# the virtual env name looks like:
#
# `Python 3.7.0 (venv)`
# `./env/bin/python`

# References:
# - https://code.visualstudio.com/docs/python/environments
# - https://code.visualstudio.com/docs/python/python-tutorial
@hoangbits
Copy link

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