Ubuntu16.04にvscodeをインストール

code.visualstudio.com

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

sudo apt-get update
sudo apt-get install code
{
    "editor.fontSize": 16,
    "editor.renderWhitespace": "all",
    "editor.formatOnSave": true,
    "files.autoGuessEncoding": true,
    "files.trimTrailingWhitespace": true,
    "python.formatting.provider": "yapf",
}