Visual Studio Code

Last updated
Visual Studio Code
Developer(s) Microsoft
Initial releaseApril 29, 2015;8 years ago (2015-04-29)
Stable release
1.88.0 [1]   OOjs UI icon edit-ltr-progressive.svg / 4 April 2024
Preview release
1.88-insiders [2]   OOjs UI icon edit-ltr-progressive.svg
Repository
Written in TypeScript, JavaScript, HTML, CSS [3]
Operating system Windows 10 or later, macOS 10.15 or later, Debian, Ubuntu, Fedora, Red Hat, SUSE
Platform x86-64, ARM32 [lower-alpha 1] , ARM64
Size
  • Windows:
    91–95 MB
  • Debian/Ubuntu:
    89–97 MB
  • Red Hat/Fedora/SUSE:
    123–137 MB
  • macOS:
    132–212 MB
Available in15 languages
List of languages
English (US), Simplified Chinese, Traditional Chinese, French, German, Italian, Portuguese (Brazil), Japanese, Korean, Russian, Spanish, Hungarian, Turkish, Polish, Czech [4]
Type Source-code editor
License
Website code.visualstudio.com   OOjs UI icon edit-ltr-progressive.svg

Visual Studio Code, also commonly referred to as VS Code, [9] is a source-code editor developed by Microsoft for Windows, Linux, macOS and web browsers. [10] [11] Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded version control with Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add functionality.

Contents

In the Stack Overflow 2023 Developer Survey, Visual Studio Code was ranked the most popular developer environment tool among 86,544 respondents, with 73.71% reporting that they use it. [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 source code of Visual Studio Code was released under the MIT License and made available on GitHub. Extension support was also announced. [14] On April 14, 2016, Visual Studio Code graduated from the public preview stage and was released to the web. [15] Microsoft has released most of Visual Studio Code's source code on GitHub under the permissive MIT License, [5] [16] while the editor itself is distributed by Microsoft as proprietary freeware. [7]

Features

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. [17] [18] [19] [20] [21] Visual Studio Code employs the same editor component (codenamed "Monaco") used in Azure DevOps (formerly called "Visual Studio Online" and "Visual Studio Team Services"). [22]

The downloadable version of Visual Studio Code is built on the Electron framework, [23] which is used to develop Node.js web 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. [24] It is officially supported and hosted by Microsoft and can be accessed at https://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. [25]

Visual Studio Code Insiders logo Visual Studio Code Insiders 1.36 icon.svg
Visual Studio Code Insiders logo

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 differs 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. [26] The command palette is able to execute virtually every feature the graphical interface supports, making it very keyboard-accessible. [27]

Visual Studio Code can be extended via extensions, [28] available through a central repository. This includes additions to the editor [29] and language support. [26] A notable feature is the ability to create extensions that add support for new languages, themes, debuggers, time travel debuggers, perform static code analysis, and add code linters using the Language Server Protocol. [30]

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 as well as 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. [31] The information contained in this telemetry data can be inspected by the public, since the product is open source. [32]

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 Developers Survey of Stack Overflow, Visual Studio Code ranked No. 13 among the top popular development tools, with only 7% of the 47,000 respondents using it. [33] Two years later, however, Visual Studio Code achieved the No. 1 spot, with 35% of the 75,000 respondents using it. [34] In the 2019 Developers Survey, Visual Studio Code was also ranked No. 1, with 50% of the 87,000 respondents using it. [35] The 2020 Developers Survey did not cover integrated development environments. [36] In the 2021 Developers Survey, Visual Studio Code continued to be ranked No. 1, with 74.5% of the 71,000 respondents using it, [37] 74.48% of the 71,010 responses in the 2022 survey, [38] and 73.71% of the 86,544 responses in the 2023 survey. [39]

Relevant incidents

CEC-IDE Controversy

On June 20th, 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 June 26th, Digital Guangdong published a statement, admitting that CEC-IDE is based on Visual Studio Code. [42]

See also

Notes

  1. Linux only

Related Research Articles

<span class="mw-page-title-main">Vim (text editor)</span> Improved version of the Vi keyboard-oriented text editor

Vim is a free and open-source, screen-based text editor program. It is an improved clone of Bill Joy's vi. Vim's author, Bram Moolenaar, derived Vim from a port of the Stevie editor for Amiga and released a version to the public in 1991. Vim is designed for use both from a command-line interface and as a standalone application in a graphical user interface. Since its release for the Amiga, cross-platform development has made it available on many other systems. In 2018, it was voted the most popular editor amongst Linux Journal readers; in 2015 the Stack Overflow developer survey found it to be the third most popular text editor, and in 2019 the fifth most popular development environment.

<span class="mw-page-title-main">Delphi (software)</span> General-purpose programming language and a software product

Delphi is a general-purpose programming language and a software product that uses the Delphi dialect of the Object Pascal programming language and provides an integrated development environment (IDE) for rapid application development of desktop, mobile, web, and console software, currently developed and maintained by Embarcadero Technologies.

<span class="mw-page-title-main">Xcode</span> IDE including tools for developing software for Apple platforms

Xcode is Apple's integrated development environment (IDE) for macOS, used to develop software for macOS, iOS, iPadOS, watchOS, tvOS, and visionOS. It was initially released in late 2003; the latest stable release is version 15, released on September 18, 2023, and is available free of charge via the Mac App Store and the Apple Developer website. Registered developers can also download preview releases and prior versions of the suite through the Apple Developer website. Xcode includes command-line tools that enable UNIX-style development via the Terminal app in macOS. They can also be downloaded and installed without the GUI.

<span class="mw-page-title-main">Microsoft XNA</span> Freeware set of tools by Microsoft

Microsoft XNA is a freeware set of tools with a managed runtime environment that Microsoft Gaming developed to facilitate video game development. XNA is based on .NET Framework, with versions that run on Windows and Xbox 360. XNA Game Studio can help develop XNA games. The XNA toolset was announced on March 24, 2004, at the Game Developers Conference in San Jose, California. A first Community Technology Preview of XNA Build was released on March 14, 2006.

<span class="mw-page-title-main">Source-code editor</span> Text editor specializing in software code

A source-code editor is a text editor program designed specifically for editing source code of computer programs. It may be a standalone application or it may be built into an integrated development environment (IDE).

<span class="mw-page-title-main">Notepad++</span> Text editor and source code editor for Windows

Notepad++ is a free and open-source text and source code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in a single window. The product's name comes from the C postfix increment operator; it is sometimes referred to as npp or NPP.

<span class="mw-page-title-main">SharpDevelop</span>

SharpDevelop is a discontinued free and open source integrated development environment (IDE) for the .NET Framework, Mono, Gtk# and Glade# platforms. It supports development in C#, Visual Basic .NET, Boo, F#, IronPython and IronRuby programming languages.

This article provides basic comparisons for notable text editors. More feature details for text editors are available from the Category of text editor features and from the individual products' articles. This article may not be up-to-date or necessarily all-inclusive.

<span class="mw-page-title-main">Git</span> Software for version control of files

Git is a distributed version control system that tracks changes in any set of computer files, usually used for coordinating work among programmers who are collaboratively developing source code during software development.

<span class="mw-page-title-main">Visual Basic (classic)</span> Microsofts programming language based on BASIC and COM

Visual Basic (VB) before .NET, sometimes referred to as Classic Visual Basic, is a third-generation programming language, based on BASIC, and an integrated development environment (IDE), from Microsoft for Windows known for supporting rapid application development (RAD) of graphical user interface (GUI) applications, event-driven programming and both consumption and development of components via the Component Object Model (COM) technology.

The following tables list notable software packages that are nominal IDEs; standalone tools such as source-code editors and GUI builders are not included. These IDEs are listed in alphabetic order of the supported language.

<span class="mw-page-title-main">.NET Micro Framework</span> Open source .NET platform

The .NET Micro Framework (NETMF) is a .NET Framework platform for resource-constrained devices with at least 512 kB of flash and 256 kB of random-access memory (RAM). It includes a small version of the .NET Common Language Runtime (CLR) and supports development in C#, Visual Basic .NET, and debugging using Microsoft Visual Studio. NETMF features a subset of the .NET base class libraries, an implementation of Windows Communication Foundation (WCF), a GUI framework loosely based on Windows Presentation Foundation (WPF), and a Web Services stack based on Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL). NETMF also features added libraries specific to embedded applications. It is free and open-source software released under Apache License 2.0.

TypeScript is a free and open-source high-level programming language developed by Microsoft that adds static typing with optional type annotations to JavaScript. It is designed for the development of large applications and transpiles to JavaScript. Because TypeScript is a superset of JavaScript, all JavaScript programs are syntactically valid TypeScript, but they can fail to type-check for safety reasons.

<span class="mw-page-title-main">Visual Studio</span> Code editor and IDE

Visual Studio is an integrated development environment (IDE) developed by Microsoft. It is used to develop computer programs including websites, web apps, web services and mobile apps. Visual Studio uses Microsoft software development platforms including Windows API, Windows Forms, Windows Presentation Foundation (WPF), Windows Store and Microsoft Silverlight. It can produce both native code and managed code.

<span class="mw-page-title-main">Cosmos (operating system)</span> Toolkit for building GUI and command-line based operating systems

C# Open Source Managed Operating System (Cosmos) is a toolkit for building GUI and command-line based operating systems, written mostly in the programming language C# and small amounts of a high-level assembly language named X#. Cosmos is a backronym, in that the acronym was chosen before the meaning. It is open-source software released under a BSD license.

<span class="mw-page-title-main">.NET Framework</span> Software platform developed by Microsoft

The .NET Framework is a proprietary software framework developed by Microsoft that runs primarily on Microsoft Windows. It was the predominant implementation of the Common Language Infrastructure (CLI) until being superseded by the cross-platform .NET project. It includes a large class library called Framework Class Library (FCL) and provides language interoperability across several programming languages. Programs written for .NET Framework execute in a software environment named the Common Language Runtime (CLR). The CLR is an application virtual machine that provides services such as security, memory management, and exception handling. As such, computer code written using .NET Framework is called "managed code". FCL and CLR together constitute the .NET Framework.

<span class="mw-page-title-main">Node.js</span> JavaScript runtime environment

Node.js is a cross-platform, open-source JavaScript runtime environment that can run on Windows, Linux, Unix, macOS, and more. Node.js runs on the V8 JavaScript engine, and executes JavaScript code outside a web browser.

<span class="mw-page-title-main">Atom (text editor)</span> Free and open-source text and source code editor

Atom is a free and open-source text and source-code editor for macOS, Linux, and Windows with support for plug-ins written in JavaScript, and embedded Git control. Developed by GitHub, Atom was released on June 25, 2015.

<span class="mw-page-title-main">.NET</span> Free and open-source software platform developed by Microsoft

The .NET platform is a free and open-source, managed computer software framework for Windows, Linux, and macOS operating systems. The project is mainly developed by Microsoft employees by way of the .NET Foundation and is released under an MIT License.

GitHub Copilot is a code completion tool developed by GitHub and OpenAI that assists users of Visual Studio Code, Visual Studio, Neovim, and JetBrains integrated development environments (IDEs) by autocompleting code. Currently available by subscription to individual developers and to businesses, the generative artificial intelligence software was first announced by GitHub on 29 June 2021, and works best for users coding in Python, JavaScript, TypeScript, Ruby, and Go. In March 2023 GitHub announced plans for "Copilot X", which will incorporate a chatbot based on GPT-4, as well as support for voice commands, into Copilot.

References

  1. "March 2024". 4 April 2024. Retrieved 4 April 2024.
  2. "Documentation for Visual Studio Code" . Retrieved 2 March 2024.
  3. GitHub repository microsoft/vscode, Microsoft, 2020-12-20, archived from the original on 2015-11-23, retrieved 2020-12-20
  4. "Visual Studio Code Display Language (Locale)". Visual Studio Code. Microsoft. Archived from the original on 2023-11-08. Retrieved 2023-11-08.
  5. 1 2 "LICENSE.txt". github.com/Microsoft/vscode. Microsoft. 17 November 2015. Archived from the original on 27 March 2021. Retrieved 17 April 2021.
  6. "Download Visual Studio Code". Visual Studio Code. Microsoft. Archived from the original on 17 August 2016. Retrieved 16 August 2016.
  7. 1 2 "Microsoft Software License Terms". Visual Studio Code. Microsoft. Archived from the original on 21 October 2017. Retrieved 16 August 2016.
  8. "The best parts of Visual Studio Code are proprietary". Underjord. Archived from the original on 2021-02-06. Retrieved 2021-02-10.
  9. Stanton, Lee (2021-08-17). "How to Run Code in VS Code". Alphr. Archived from the original on 2022-06-02. Retrieved 2022-04-03.
  10. Lardinois, Frederic (April 29, 2015). "Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor For OS X, Linux And Windows". TechCrunch . Archived from the original on October 28, 2017. Retrieved April 15, 2018.
  11. Devine, Richard (22 December 2022). "How to use Visual Studio Code in a web browser". Windows Central. Retrieved 11 April 2024.
  12. "Stack Overflow Developer Survey 2023". Stack Overflow. Retrieved 7 July 2023.
  13. McBreen, Sean (April 29, 2015). "Announcing Visual Studio Code - Preview". Archived from the original on 2015-10-09.
  14. "Visual Studio now supports debugging Linux apps; Code editor now open source". Ars Technica. Archived from the original on 11 April 2019. Retrieved 18 November 2015.
  15. "Visual Studio Code editor hits version 1, has half a million users". Ars Technica . Condé Nast. 15 April 2016. Archived from the original on 7 July 2017. Retrieved 15 June 2017.
  16. Dias, Chris (4 December 2015). "Issue: Menu license links to non Open Source license". Microsoft/vscode repo. Microsoft. Response #161792005. Archived from the original on 4 September 2022. Retrieved 21 February 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.
  17. Kanjilal, Joydip (2015-05-06). "Visual Studio Code: A fast, lightweight, cross-platform code editor". InfoWorld. Archived from the original on 2019-01-25. Retrieved 2019-01-25.
  18. Bisson, Simon (2018-09-11). "It's gotten a little easier to develop PWAs in Windows". InfoWorld. Archived from the original on 2019-01-25. Retrieved 2019-01-25.
  19. Krill, Paul (2018-02-24). "What's new in Microsoft Visual Studio Code". ChannelWorld. Archived from the original on 2019-01-25. Retrieved 2019-01-25.
  20. Wanyoike, Michael (2018-06-06). "Debugging JavaScript Projects with VS Code & Chrome Debugger". SitePoint. Archived from the original on 2019-01-25. Retrieved 2019-01-25.
  21. "Julia in Visual Studio Code". Visual Studio Code. Archived from the original on 2023-05-26. Retrieved 2023-05-26.
  22. "Monaco Editor". microsoft.github.io/monaco-editor. Archived from the original on 2017-08-30. Retrieved 2016-11-03.
  23. "Microsoft's new Code editor is built on Google's Chromium". Ars Technica . 29 April 2015. Archived from the original on 7 May 2015. Retrieved 18 November 2015.
  24. "Visual Studio Code for the Web". code.visualstudio.com. Retrieved 11 April 2024.
  25. "Programming Languages, Hundreds of programming languages supported". Microsoft. Archived from the original on 2017-05-11. Retrieved 2016-10-11.
  26. 1 2 "Language Support in Visual Studio Code". Visual Studio Code. October 10, 2016. Archived from the original on 2017-05-11. Retrieved 2016-10-12.
  27. "Visual Studio Code User Interface". code.visualstudio.com. Retrieved 2024-04-06.
  28. "Extending Visual Studio Code". Visual Studio Code. October 10, 2016. Archived from the original on 2016-10-18. Retrieved 2016-10-12.
  29. "Managing Extensions in Visual Studio Code". Visual Studio Code. October 10, 2016. Archived from the original on 2021-01-24. Retrieved 2016-10-12.
  30. "Creating Language Servers for Visual Studio Code". Visual Studio Code. Archived from the original on 2017-09-01. Retrieved 2017-02-27.
  31. "Visual Studio Code FAQ". Visual Studio Code. Microsoft. Archived from the original on 28 August 2016. Retrieved 4 November 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.
  32. "vscode/src/vs/platform/telemetry at main branch". microsoft/vscode repo. Microsoft. Archived from the original on 25 November 2021. Retrieved 24 March 2020 via GitHub.
  33. "Developer Survey Results 2016". Stack Overflow Insights. Stack Exchange. Archived from the original on 18 March 2016. Retrieved 7 April 2018.
  34. "Developer Survey Results 2018". StackOverflow Insights. Stack Exchange. Archived from the original on 6 March 2020. Retrieved 7 April 2018.
  35. "Developer Survey Results 2019 – Most Popular Development Environments". Stack Overflow Insights. Stack Exchange. Archived from the original on 7 March 2020. Retrieved 10 April 2019.
  36. "Stack Overflow Developer Survey 2020 - Development Environments and Tools". Stack Overflow Insights. Stack Exchange. Archived from the original on 1 November 2023. Retrieved 8 November 2023.
  37. "Stack Overflow Developer Survey 2021 - Integrated Development Environment". Stack Overflow Insights. Stack Exchange. Archived from the original on 13 April 2022. Retrieved 11 August 2021.
  38. "Stack Overflow Developer Survey 2022 - Integrated development environment". Stack Overflow Insights. Stack Exchange. Archived from the original on 27 June 2022. Retrieved 28 June 2022.
  39. "Stack Overflow Developer Survey 2023 - Integrated development environment". Stack Overflow Insights. Stack Exchange. Archived from the original on 4 November 2023. Retrieved 8 November 2023.
  40. "广东省数字政府科技创新发展论坛举办" [Guangdong Province Digital Government Technology Innovation Development Forum Held]. People's Government of Guangdong Province (in Chinese (China)). 2023-06-21. Archived from the original on 2023-07-21.
  41. 麒麟软件 (2023-06-26). ""粤"上高地|麒麟软件与数字广东携手推动广东数字政府建设". Weixin Public Platform (in Chinese (China)).
  42. Digital Guangdong (2023-08-26). "致 歉 声 明" [Apology Statement]. Digital Guangdong (in Chinese (China)). Archived from the original on 2023-08-31.