Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Differences between the repository and Visual Studio Code

Vinícius A. L. Souza edited this pageJul 31, 2025 ·9 revisions

This article outlines the differences between thegithub.com/microsoft/vscode GitHub project (which we refer to asCode - OSS) and Microsoft'sVisual Studio Code distribution.

TheCode - OSS Repository

TheCode - OSS repository is where we (Microsoft) develop the open source editor upon which we build theVisual Studio Code product. We contribute source code and manage issues in this repository. We also maintain the wiki, publish the Visual Studio Code roadmap, monthly iteration plans, and endgame plans for the product. The source code in this repository is available to everyone under a standardMIT license.

Visual Studio Code

Visual Studio Code is a distribution of theCode - OSS repository with Microsoft specific customizations, including additional source code and extensions, released under a traditionalMicrosoft product license.

What Goes Where?

We take great care to ensure that no proprietary code or assets are accidently contributed to theCode - OSS repo, so that it can be cloned and freely used by anyone in the community.

Our guiding principle is that everything should be open source. If it isn't open source, it must be cleanly separated from theCode - OSS repository so that it is always possible to fork the repo and build a functional editor.

The small amount of assets and code that are not open source generally fall into one of the following categories:

  • Trademarked assets that define the brand (e.g. logos and product names)
  • Code that has a reliance on existing proprietary code or libraries
  • Code that is shared with other proprietary licensed products, such as Visual Studio
  • Code that may be used in, or provides access to, a service that we run in our data centers (e.g. access to theVisual Studio Marketplace)
  • Pre-release code that is undergoing significant revision

The closed source additions to the distribution make up a very small percentage of the overall product.

While not open source, we believe that transparency is very important to the health of the project and community. Therefore, we want to outline "the last mile" between what you see in the repository and what is built into the Visual Studio Code distribution. Most customizations are done through the customization ofproduct.json, but we do include a small amount of additional code and assets in the final product.

WhatWhyHow
Icons, Product Name (e.g. "Microsoft Visual Studio Code"), DocumentationMicrosoft trademarks, which provide brand recognition for customers and helps to avoid confusion for downstream implementations. In other words, because we protect the brands, you know it is a product from Microsoft when you see it.Static assets such as icons and the desktop image are included in the distro. Product names and documentation URLs are added toproduct.json.
Visual Studio Marketplace IntegrationTheVisual Studio Marketplace is a service that we provide to users of the Visual Studio family of products (Visual Studio for Windows and Mac, Visual Studio Code, and Azure DevOps, formerly Visual Studio Team Services). The Marketplace not only provides discovery and hosting services, it provides ratings, comments, Q&A, publisher verification, virus scanning, conflict resolution services, payment services for Azure DevOps extensions, as well as support for publishers. The Marketplace is not a general purpose store designed to support any distribution or a subset of distributions. Access to the Marketplace is governed by theMarketplace Terms of Use.product.json includes URLs that point to the Visual Studio Marketplace.
Extension RecomendationsWe maintain a curated list of "important" and "general" extension recommendations that are subsequently installed from the Marketplace, therefore we only include these in the distro.product.json includes an array of extension IDs.
Remote DevelopmentPortions of theRemote Development extensions are used indeveloper services that are run under a proprietary license. While these extensions do not require these services to work, there is enough code reuse that the extensions are also under a proprietary license. While the bulk of the code is in the extensions and in theCode - OSS repository, a handful of small changes are in the Visual Studio Code distribution.Parts of the code to negotiate a connection to the Visual Studio Code server are proprietary.
Enable Proprietary Debug Adapters, Visual Studio Code ServerCertain Microsoft extensions (e.g. C#/.NET debugger) and the Visual Studio Code Server are distributed under a license that restricts their use to the Visual Studio family of products (Visual Studio, Visual Studio Code, or Visual Studio for Mac).The distribution includes a native node module that allows the extension to use a "handshake" to adhere to the license by ensuring it is being used from Visual Studio Code.
Extensions Using Proposed APIsWe follow a strict API process based on proposed APIs (Extension API Process). Because proposed APIs often break, we generally do not allow that any extension using proposed APIs can be published to the Marketplace and loaded into Stable builds. We do however maintain a small list of extensions that are exempted from this rule because the publisher (typically Microsoft) has agreed to track the API changes.product.json includes a list of extension IDs that can be published to the Marketplace and use proposed APIs.
Telemetry, Surveys, Crash ReportingMicrosoft collectsanonymous usage statistics, survey data, and crash dumps to help improve the quality of the product. No personally identifiable information is gathered. Any data we do collect, such as crash dumps, is persisted in compliance with GDPR guidelines (FAQ). You can disable telemetry collection, please see ourFAQ for more details.The App Insights telemetry keys, Hockey App URLs, Experiment URLs, and Survey probabilities and URLs are stored inproduct.json and are private so that other distributions cannot send us telemetry and we can maintain GDPR compliance.
Update ServicesVisual Studio Code periodically checks with a service that we host to see if there are updates to be installed or, in extremely rare occasions, rolled back.product.json contains the URL of the update service.

Want to contribute to this Wiki?

Fork it and send a pull request.

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp