Skip to main content

26 docs tagged with "disable-visual-studio-code-data-collection"

View all tags

Disable automatic fetching of remote repositories in Visual Studio Code

Visual Studio Code (VS Code) periodically fetches changes from remote repositories. This feature lets VS Code display how many changes your local repository is ahead or behind the remote. This script disables the automatic fetching, providing you more control over when you communicate with remote servers. Note that this feature shares data not with Microsoft, but with the servers hosting the remote repositories you're working with. As of VS Code 1.19, this feature is disabled by default, althoug...

Disable automatic Visual Studio Code extension updates

By default, Visual Studio Code automatically downloads and installs updates for all extensions. These updates are fetched from a Microsoft online service. This script disables the automatic updating of installed extensions. It accomplishes this by setting "extensions.autoUpdate" to "false".

Disable fetching package information from NPM and Bower in Visual Studio Code

Visual Studio Code fetches data from NPM and Bower to provide autocompletion and hover information for npm dependencies. By default, this feature is enabled and fetches data from "https://registry.npmjs.org" and "https://registry.bower.io". This script prevents the automatic fetching of package information. You can disable this feature by setting "npm.fetchOnlinePackageInfo" to "false".

Disable fetching release notes from Microsoft servers after an update

This script prevents Visual Studio Code from displaying release notes after an update. Release notes are fetched from a Microsoft online service and thus expose data about you, such as your IP address, to Microsoft. It is enabled by default and can be disabled by setting "update.showReleaseNotes" to "false".

Disable online experiments by Microsoft in Visual Studio Code

VS Code employs experiments to test new features or gradually roll them out. The experimentation framework communicates with Microsoft servers. This setting is enabled by default. This script disables fetching experiments from a Microsoft online service. It accomplishes this by setting "workbench.enableExperiments" to "false".

Disable sending search queries to Microsoft in Visual Studio Code

By default, Visual Studio Code sends setting search queries to Microsoft servers. This is part of the natural language search mode, which is powered by a Microsoft online service. You can disable this feature by setting "enableNaturalLanguageSettingsSearch" to "false". For more information, see [Settings search | Feature announcement](https://web.archive.org/web/20221029223417/https://github.com/microsoft/vscode-docs/blob/8f6d43a3b24d8661f25f93d5e679c3e6ee1191b6/release-notes/v1_20.md#settings-s...

Disable synchronization of Visual Studio Code extensions

Visual Studio Code synchronizes all built-in and installed extensions, along with their global enablement state, by default. This script prevents the synchronization of all Visual Studio Code extensions. To disable extension synchronization, set "settingsSync.ignoredExtensions", which configures the list of extensions to be ignored during synchronization.

Disable synchronization of Visual Studio Code settings

By default, Visual Studio Code synchronizes all settings, except for machine settings (those with machine or machine-overridable scopes), as these are specific to a given machine. This script disables the synchronization of all settings. You can specify settings to ignore during synchronization using the "settingsSync.ignoredSettings" setting.

Disable Visual Studio Code automatic extension update checks

By default, Visual Studio Code automatically checks extensions for updates. If an update for an extension is available, it is marked as outdated in the Extensions view. These updates are fetched from a Microsoft online service. This script disables the automatic checking of updates for extensions. It achieves this by setting "extensions.autoCheckUpdates" to "false".

Disable Visual Studio Code automatic type acquisition in TypeScript

This script disables automatic type acquisition, a feature that fetches "@types" packages from npm to improve IntelliSense for external libraries. Although this feature is disabled by default, you can ensure it's off by setting "typescript.disableAutomaticTypeAcquisition" to "false".

Disable Visual Studio Code automatic updates in favor of manual updates

By default, VS Code is configured to automatically update when new versions are released. Automatic updates reduce your control over privacy by sending data to Microsoft servers. On Linux, updates are often handled by the system package manager, rendering this setting redundant. To opt out of auto-updates, the Update: Mode ("update.mode") setting is changed from default to none. "update.mode" has replaced the older "update.channel" setting. · Issue #70084 · microsoft/vscode · GitHub | github.com

Disable Visual Studio Code Edit Sessions

Edit Sessions is a Visual Studio Code feature that synchronizes uncommitted changes between VS Code for the Web (e.g., GitHub Codespaces) and the Desktop version, storing data in the Microsoft Cloud. This script disables Edit Sessions and its more granular subsettings like "workbench.experimental.editSessions.autoStore", "workbench.editSessions.autoResume", and "workbench.editSessions.continueOn".

Disable Visual Studio Code telemetry

The "telemetry.telemetryLevel" preference can be adjusted as follows: "default" (on): Transmits usage data, errors, and crash reports. • "error": Transmits general error telemetry and crash reports. • "crash": Transmits OS-level crash reports. • "off": Disables all product telemetry. This script disables telemetry data, which includes usage data, errors, and crash reports. The "telemetry.enableTelemetry" was the primary option to disable telemetry collection. This disabled the collection of diag...