The official VS Code source code repository doesn't have telemetry by default also except the released builds. Releases are based on the same source code, add telemetry, and publish.
Here's how it works. When you build from the vscode
repository, you can configure the resulting tool by customizing the product.json
file. This file controls things like the Gallery endpoints, “Send-a-Smile” endpoints, telemetry endpoints, logos, names, and more.
When we build Visual Studio Code, we do exactly this. We clone the vscode repository, we lay down a customized product.json
that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license.
When you clone and build from the vscode
repo, none of these endpoints are configured in the default product.json
. Therefore, you generate a "clean" build, without the Microsoft customizations, which is by default licensed under the MIT license (note, i made this commit to help make this more clear).
Source
Related: telemetryUtils.ts#L134