If you’re using VS Code from within a companies network und you probably may want to install plugins from the Internet, you have to set the proxy settings first. Because VS Code is built for cross-plattform-ability it isn’t aware of the Windows IE proxy settings.
Please open File -> Preferences -> Settings
Add these two lines to the settings.json:
// Place your settings in this file to overwrite the default settings