Jump to content

Visual Studio Code

From Wikipedia, the free encyclopedia

Visual Studio Code
Developer(s)Microsoft
Initial releaseApril 29, 2015; 9 years ago (2015-04-29)
Stable release
1.95.3[1] Edit this on Wikidata / 15 November 2024
Preview release
1.96-insiders[2] Edit this on Wikidata / 31 October 2024
Repository
Written inTypeScript, JavaScript, HTML, CSS[3]
Operating systemWindows 10 or later, macOS 10.15 or later, Linux
Platformx86-64, ARM32, ARM64
Size
  • Windows: 93–97 MB
  • Linux: 89–137 MB
  • macOS: 127–217 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]
TypeIntegrated development environment
License Proprietary freeware[5][6] based on open-source project[7][8]
Websitecode.visualstudio.com Edit this on Wikidata

Visual Studio Code, commonly referred to as VS Code,[9] is an integrated development environment 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.

Visual Studio Code is proprietary software released under the "Microsoft Software License",[6] 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.[12]

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.[13]

History

[edit]

Visual Studio Code was first announced on April 29, 2015 by Microsoft at the 2015 Build conference. A preview build was released shortly thereafter.[14]

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-source MIT License and made available on GitHub.[12]

Extension support was also announced.[15] On April 14, 2016, Visual Studio Code graduated from the public preview stage and was released to the web.[16]

Features

[edit]

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 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]

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

Insiders

[edit]
An orange version of the Visual Studio Code logo
Visual Studio Code Insiders logo

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

[edit]

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] 73.71% of the 86,544 responses in the 2023 survey,[39] and 73.6% of the 58,121 responses in the 2024 survey.[40]

CEC-IDE controversy

[edit]

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.[41][42] 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.[43]

See also

[edit]

References

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