code .
will open VS Code in the current directorycode myfile.txt
will open myfile.txt
in VS Code⌘ + S
, configure the following:Black
instead of Autopep8
. Critical to avoid large diffs. Go to Preferences -> User Settings and update the setting python.formatter.provider
to Black
Format on Save
Setting: Editor: Format On Save setting on Code -> Preferences -> SettingsGOROOT
: Installation directoryGOPATH
: Workspace directory (The directory cannot be associated with Go There are three subdirectories under this directory: src,bin,pkg
)vim ~/.bash_profile
,Add at the end of the file