Jump to content

Visual Studio Code

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Orandlogic (talk | contribs) at 14:53, 25 February 2023 (Eliminated redundancy). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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, and CSS[3]
Operating systemWindows 7 or later, OS X 10.10 or later, Linux
PlatformIA-32, x86-64, ARM64
Size
  • Windows: 40.8–68.3 MB
  • Linux: 46.5–66.6 MB
  • macOS: 67.5 MB
Available in14 languages
List of languages
English (US), Simplified Chinese, Traditional Chinese, French, German, Italian, Portuguese (Brazil), Japanese, Korean, Russian, Spanish, Bulgarian, Hungarian, Turkish[4]
TypeSource code editor
License
Websitecode.visualstudio.com Edit this at Wikidata

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

In the Stack Overflow 2021 Developer Survey, Visual Studio Code was ranked the most popular developer environment tool among 82,000 respondents, with 70% reporting that they use it.[11]

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

On November 18, 2015, the source of Visual Studio Code was released under the MIT License, and made available on GitHub. Extension support was also announced.[13] On April 14, 2016, Visual Studio Code graduated from the public preview stage and was released to the Web.[14] Microsoft has released most of Visual Studio Code's source code on GitHub under the permissive MIT License,[5][15] while the releases by Microsoft are 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.[16][17][18][19] It is based on the Electron framework,[20] which is used to develop Node.js web applications that run on the Blink layout engine. 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]

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

An orange version of the Visual Studio Code logo for the insiders version of Visual Studio Code
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 the settings. Many Visual Studio Code features are not exposed through menus or the user interface but can be accessed via the command palette.[23]

Visual Studio Code can be extended via extensions,[24] available through a central repository. This includes additions to the editor[25] and language support.[23] 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.[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 as well as to make push and pull requests directly from the Visual Studio Code program.

Visual Studio Code includes multiple extensions for FTP, allowing the software to be used as a free alternative for web development. Code can be synced between the editor and the server, without downloading any extra software.

Visual Studio Code allows users to set the code page in which the active document is saved, the newline character, and the programming language of the active document. This allows it to be used on any platform, in any locale, and for any given programming language.[promotion?]

Visual Studio Code collects usage data and sends it to Microsoft, although this can be disabled.[27] Due to the open-source nature of the application, the telemetry code is accessible to the public, who can see exactly what is collected.[28]

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.[29] Two years later, however, Visual Studio Code achieved the No. 1 spot, with 35% of the 75,000 respondents using it.[30] In the 2019 Developers Survey, Visual Studio Code was also ranked No. 1, with 50% of the 87,000 respondents using it.[31] In the 2021 Developers Survey, Visual Studio Code continues to be ranked No. 1, with 70% of the 82,000 respondents using it,[11] rising to 74.48% of the 71,010 responses in the 2022 survey.[32]

See also

References

  1. ^ "October 2024 Recovery 3". Retrieved 16 November 2024.
  2. ^ "Visual Studio Code Insiders (Install) 1.96.0.20241029".
  3. ^ GitHub repository microsoft/vscode, Microsoft, 2020-12-20, retrieved 2020-12-20
  4. ^ "Visual Studio Code Display Language (Locale)". code.visualstudio.com. Microsoft. Retrieved 2021-03-19.
  5. ^ a b "LICENSE.txt". github.com/Microsoft/vscode. Microsoft. 17 November 2015.
  6. ^ "Download Visual Studio Code". code.visualstudio.com. Microsoft. Retrieved 16 August 2016.
  7. ^ a b "Microsoft Software License Terms". code.visualstudio.com. Microsoft. Retrieved 16 August 2016.
  8. ^ "The best parts of Visual Studio Code are proprietary". Underjord.
  9. ^ Stanton, Lee (2021-08-17). "How to Run Code in VS Code" (HTML). Alphr. 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. Retrieved April 15, 2018.
  11. ^ a b "Stack Overflow Developer Survey 2021 - Integrated Development Environment". Stack Overflow Insights. Stack Exchange. Retrieved 11 August 2021.
  12. ^ McBreen, Sean (April 29, 2015). "Announcing Visual Studio Code - Preview". Archived from the original on 2015-10-09.
  13. ^ "Visual Studio now supports debugging Linux apps; Code editor now open source". Ars Technica. Retrieved 18 November 2015.
  14. ^ "Visual Studio Code editor hits version 1, has half a million users". Ars Technica. Condé Nast. 15 April 2016.
  15. ^ Dias, Chris (4 December 2015). "Issue: Menu license links to non Open Source license". Microsoft/vscode repo. Microsoft. Response #161792005 – 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.
  16. ^ Kanjilal, Joydip (2015-05-06). "Visual Studio Code: A fast, lightweight, cross-platform code editor". InfoWorld.
  17. ^ Bisson, Simon (2018-09-11). "It's gotten a little easier to develop PWAs in Windows". InfoWorld.
  18. ^ 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.
  19. ^ Wanyoike, Michael (2018-06-06). "Debugging JavaScript Projects with VS Code & Chrome Debugger". SitePoint.
  20. ^ "Microsoft's new Code editor is built on Google's Chromium". Ars Technica. 29 April 2015. Retrieved 18 November 2015.
  21. ^ "Monaco Editor". microsoft.github.io/monaco-editor.
  22. ^ "Programming Languages, Hundreds of programming languages supported". Microsoft.
  23. ^ a b "Language Support in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  24. ^ "Extending Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  25. ^ "Managing Extensions in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  26. ^ "Creating Language Servers for Visual Studio Code". Retrieved 2017-02-27.
  27. ^ "Visual Studio Code FAQ". code.visualstudio.com. 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.
  28. ^ "vscode/src/vs/platform/telemetry at main branch". microsoft/vscode repo. Microsoft. Retrieved 24 March 2020 – via GitHub.
  29. ^ "Developer Survey Results 2016". Stack Overflow Insights. Stack Exchange. Retrieved 7 April 2018.
  30. ^ "Developer Survey Results 2018". StackOverflow Insights. Stack Exchange. Retrieved 7 April 2018.
  31. ^ "Developer Survey Results 2019 – Most Popular Development Environments". Stack Overflow Insights. Stack Exchange. Retrieved 10 April 2019.
  32. ^ "Stack Overflow Developer Survey 2022 - Integrated development environment". Stack Overflow Insights. Stack Exchange. Retrieved 28 June 2022.

VSCodium