Jump to content

Visual Studio Code

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 5.78.104.170 (talk) at 19:25, 13 April 2020 (Reverted. Alphabetic is suboptimal. It makes more sense to keep Windows, macOS, and Linux together, and HTML and XML together.). 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; 10 years ago (2015-04-29)
Stable releaseThis 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.
Preview release
1.42.0 / January 13, 2020; 5 years ago (2020-01-13)
Repository
Written inTypeScript, JavaScript, CSS
Operating systemWindows 7 or later, OS X 10.9 or later, Linux
PlatformIA-32, x86-64
Size
  • Windows: 40.8–68.3 MB
  • Linux: 46.5–66.6 MB
  • macOS: 67.5 MB
Available inEnglish (US), Simplified Chinese, Traditional Chinese, French, German, Italian, Portuguese (Brazil), Japanese, Korean, Russian, Spanish[1]
TypeSource code editor, debugger
License
Websitecode.visualstudio.com

Visual Studio Code is a source-code editor developed by Microsoft for Windows, Linux and macOS.[5] It includes support for debugging, embedded Git control and GitHub, syntax highlighting, intelligent code completion, snippets, and code refactoring. It is highly customizable, allowing users to change the theme, keyboard shortcuts, preferences, and install extensions that add additional functionality. The source code is free and open-source, released under the permissive MIT License.[6] The compiled binaries are freeware for any use.[7]

In the Stack Overflow 2019 Developer Survey, Visual Studio Code was ranked the most popular developer environment tool, with 50.7% of 87,317 respondents claiming to use it.[8]

History

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

On November 18, 2015, Visual Studio Code was released under the MIT License and its source code posted to GitHub. Extension support was also announced.[10]

On April 14, 2016, Visual Studio Code graduated the public preview stage and was released to web.[11]

Features

An orange version of the Visual Studio Code logo for the insiders version of Visual Studio Code
Visual Studio Code Insiders logo

Visual Studio Code is a source code editor that can be used with a variety of programming languages, including Java, JavaScript, Go, Node.js and C++.[12][13][14][15] It is based on the Electron framework, which is used to develop Node.js web apps that run on the Blink layout engine. Although it uses the Electron framework,[16] the software does not use Atom and instead employs the same editor component (codenamed "Monaco") used in Azure DevOps (formerly called Visual Studio Online and Visual Studio Team Services).[17]

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, contrary to Microsoft Visual Studio which uses the proprietary .sln solution file and project-specific project files. It supports a number of 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 of Visual Studio Code features are not exposed through menus or the user interface, but can be accessed via the command palette.[18]

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

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, so that it to be used on any platform, in any locale, and for any given programming language.

Language support

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]

Data collection

Visual Studio Code collects usage data and sends it to Microsoft, although this can be disabled.[23] In addition, because of the open-source nature of the app, the telemetry code is accessible to the public, who can see exactly what is collected.[24] According to Microsoft, the data is shared with Microsoft-controlled affiliates and subsidiaries. although the law enforcement may request it as part of a legal process.[25]

Open-source versions

Visual Studio Code is a distribution of the "Code - OSS" repository with Microsoft-specific customizations released under a traditional Microsoft product license.[26]

VSCodium is an alternative binary distribution of the app that uses only the open-source parts and omits Microsoft's trademarks and the telemetry component, while remaining fully functional and compatible in all other regards.[27]

Reception

In the 2016 Developers Survey of Stack Overflow, Visual Studio Code ranked #13 among the top popular development tools, with only 7.2% of the 46,613 respondents using it.[28] Two years later, however, Visual Studio Code achieved the #1 spot, with 34.9% of the 75,398 respondents using it.[29] In the latest survey, the 2019 Developers Survey, Visual Studio Code is still ranked #1, with 50.7% of the 87,317 respondents using it.[8]

See also

References

  1. ^ "Visual Studio Code Display Language (Locale)". code.visualstudio.com. Microsoft. Retrieved 17 July 2017.
  2. ^ "LICENSE.txt". github.com/Microsoft/vscode. Microsoft. 17 November 2015.
  3. ^ "Download Visual Studio Code". code.visualstudio.com. Microsoft. Retrieved 16 August 2016.
  4. ^ "Microsoft Software License Terms". code.visualstudio.com. Microsoft. Retrieved 16 August 2016.
  5. ^ Lardinois, Frederic (April 29, 2015). "Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor For OS X, Linux And Windows". TechCrunch.
  6. ^ Comment on Menu license links to non Open Source license, VS Code Repository on Github
  7. ^ VS Code FAQ, VS Code, "VS Code is free for private or commercial use."
  8. ^ a b "Developer Survey Results 2019 - Most Popular Development Environments". StackOverflow Insights. Stack Exchange. Retrieved 10 April 2019.
  9. ^ Montgomery, John (April 29, 2015). "BUILD 2015 News: Visual Studio Code, Visual Studio 2015 RC, Team Foundation Server 2015 RC, Visual Studio 2013 Update 5".
  10. ^ "Visual Studio now supports debugging Linux apps; Code editor now open source". Ars Technica. Retrieved 18 November 2015.
  11. ^ "Visual Studio Code editor hits version 1, has half a million users". Ars Technica. Condé Nast. 15 April 2016.
  12. ^ Kanjilal, Joydip (2015-05-06). "Visual Studio Code: A fast, lightweight, cross-platform code editor". InfoWorld.
  13. ^ Bisson, Simon (2018-09-11). "It's gotten a little easier to develop PWAs in Windows". InfoWorld.
  14. ^ Krill, Paul (2018-02-24). "What's new in Microsoft Visual Studio Code". ChannelWorld.
  15. ^ Wanyoike, Michael (2018-06-06). "Debugging JavaScript Projects with VS Code & Chrome Debugger". SitePoint.
  16. ^ "Microsoft's new Code editor is built on Google's Chromium". Ars Technica. Retrieved 18 November 2015.
  17. ^ "Monaco Editor". microsoft.github.io/monaco-editor.
  18. ^ a b "Language Support in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  19. ^ "Extending Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  20. ^ "Managing Extensions in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  21. ^ "Creating Language Servers for Visual Studio Code". Retrieved 2017-02-27.
  22. ^ "Programming Languages, Hundreds of programming languages supported". Microsoft.
  23. ^ "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.
  24. ^ "vscode/src/vs/platform/telemetry at master". microsoft/vscode repo. Microsoft. Retrieved 24 March 2020 – via GitHub.
  25. ^ "Microsoft Enterprise and Developer Privacy Statement". privacy.microsoft.com. Microsoft. Archived from the original on 4 November 2016. Retrieved 4 November 2016. {{cite web}}: |archive-date= / |archive-url= timestamp mismatch; 5 November 2016 suggested (help)
  26. ^ https://code.visualstudio.com/docs/supporting/faq#_what-is-the-difference-between-the-vscode-repository-and-the-microsoft-visual-studio-code-distribution
  27. ^ binary releases of VS Code without MS branding/telemetry/licensing: VSCodium/vscodium, VSCodium, 2019-03-17, retrieved 2019-03-18
  28. ^ "Developer Survey Results 2016". Stack Overflow Insights. Stack Exchange. Retrieved 7 April 2018.
  29. ^ "Developer Survey Results 2018". StackOverflow Insights. Stack Exchange. Retrieved 7 April 2018.