This article's lead sectionmay be too short to adequately summarize the key points. Please consider expanding the lead to provide an accessible overview of all important aspects of the article.(September 2024)
Visual Studio Code
Logo used since May 2019
Visual Studio Code starting screen with dark theme
This template is not used anymore. The latest stable and pre-release versions are maintained in Wikidata and they appear automatically in the main article for Visual Studio Code.
Visual Studio Code is proprietary software released under the "Microsoft Software License",[5] but based on the MIT licensed program named "Visual Studio Code — Open Source" (also known as "Code — OSS"), also created by Microsoft and available through GitHub.[11]
In the 2024 Stack Overflow Developer Survey, out of 58,121 responses, 73.6% of respondents reported using Visual Studio Code, more than twice the percentage of respondents who reported using its nearest text editor and/or IDE alternative, Visual Studio.[12]
History
Visual Studio Code was first announced on April 29, 2015 by Microsoft at the 2015 Build conference. A preview build was released shortly thereafter.[13]
On November 18, 2015, the project "Visual Studio Code — Open Source" (also known as "Code — OSS"), on which Visual Studio Code is based, was released under the open-sourceMIT License and made available on GitHub.[11]
Visual Studio Code is a source-code editor that can be used with a variety of programming languages, including C, C#, C++, Fortran, Go, Java, JavaScript, Node.js, Python, Rust, and Julia.[16][17][18][19][20] Visual Studio Code employs the same editor component (codenamed "Monaco") used in Azure DevOps (formerly called "Visual Studio Online" and "Visual Studio Team Services").[21]
The downloadable version of Visual Studio Code is built on the Electron framework,[22] which is used to develop Node.jsweb applications that run on the Blink layout engine. Visual Studio Code for the Web is a browser-based version of the editor that can be used to edit both local files and remote repositories (on GitHub and Microsoft Azure) without installing the full program.[23] It is officially supported and hosted by Microsoft and can be accessed at vscode.dev.
Out of the box, Visual Studio Code includes basic support for most common programming languages. This basic support includes syntax highlighting, bracket matching, code folding, and configurable snippets. Visual Studio Code also ships with IntelliSense for JavaScript, TypeScript, JSON, CSS, and HTML, as well as debugging support for Node.js. Support for additional languages can be provided by freely available extensions on the VS Code Marketplace.[24]
Instead of a project system, it allows users to open one or more directories, which can then be saved in workspaces for future reuse. This allows it to operate as a language-agnostic code editor for any language. It supports many programming languages and a set of features that differ per language. Unwanted files and folders can be excluded from the project tree via settings. Many Visual Studio Code features are not exposed through menus or the user interface but can be accessed via the command palette.[25] The command palette is able to execute virtually every feature the graphical interface supports, making it very keyboard-accessible.[26]
Source control is a built-in feature of Visual Studio Code. It has a dedicated tab inside of the menu bar where users can access version control settings and view changes made to the current project. To use the feature, Visual Studio Code must be linked to any supported version control system (Git, Apache Subversion, Perforce, etc.). This allows users to create repositories and to make push and pull requests directly from the Visual Studio Code program.
Visual Studio Code collects usage data and sends it to Microsoft to help improve the product. This telemetry feature can be disabled.[30] The information contained in this telemetry data can be inspected by the public, since the product is open source.[31]
Insiders
A nightly build called Visual Studio Code Insiders is also available. Its configuration, including any settings, extensions, themes are completely separate from the standard build. This enables side-by-side installation of both builds without any interference.
Reception
In the 2016 Stack Overflow Developer Survey, Visual Studio Code ranked 13th among the top popular development tools, with only 7% of the 47,000 respondents using it.[32] Two years later, Visual Studio Code rose to the no.1 spot, with 35% of the 75,000 respondents using it.[33] Since then Visual Studio Code has retained the no.1 spot, with the percentage of respondents reporting using it increasing to 50% in 2019,[34] 74.5% in 2021,[35] 74.48% in 2022,[36] 73.71% in 2023,[37] and 73.6% in 2024.[38] (The 2020 Developers Survey did not cover integrated development environments.[39])
CEC-IDE controversy
On June 20, 2023, during the Guangdong Province's Digital Government Innovation Development Forum held in Guangzhou, CEC-IDE was released and described as the first Chinese-produced integrated development tool.[40][41] However, CEC-IDE was subsequently found to be a rebranded release of Visual Studio Code that, among other things, failed to include a copy of the MIT license as required for redistributions. On August 26, Digital Guangdong published a statement admitting that CEC-IDE is based on Visual Studio Code.[42]
^ abDias, Chris (December 4, 2015). "Issue: Menu license links to non Open Source license". Microsoft/vscode repo. Microsoft. Response #161792005. Archived from the original on September 4, 2022. Retrieved February 21, 2019 – via GitHub.com. We wanted to deliver a Microsoft branded product, built on top of an open source code base that the community could explore and contribute to.
^"Visual Studio Code FAQ". Visual Studio Code. Microsoft. Archived from the original on August 28, 2016. Retrieved November 4, 2016. VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don't wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false.
^"广东省数字政府科技创新发展论坛举办" [Guangdong Province Digital Government Technology Innovation Development Forum Held]. People's Government of Guangdong Province (in Chinese (China)). June 21, 2023. Archived from the original on July 21, 2023.
^麒麟软件 (June 26, 2023). ""粤"上高地|麒麟软件与数字广东携手推动广东数字政府建设". Weixin Public Platform (in Chinese (China)). Archived from the original on October 24, 2023. Retrieved August 30, 2023.