Microsoft’s vscode source code is open source (MIT-licensed), but the product available for download (Visual Studio Code) is licensed under a not-FLOSS license and contains telemetry/tracking.
Instead install the OSS version: VSCodium on Windows, and Codium on Linux.
- On Windows using Scoop:
scoop bucket add extras; scoop install vscodium