Visual Studio Code

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jpkhakv221999 (talk | contribs) at 20:23, 10 October 2018 (Windows file size update to reflect version 1.28). 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 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 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.
Repository
Written inTypeScript, JavaScript, CSS
Operating systemWindows 7 or later, OS X 10.9 or later, Linux
PlatformIA-32, x64
Size
  • Windows: 42 MB
  • Debian, Ubuntu: 39.3 MB
  • Fedora, Red Hat: 59.8 MB
  • macOS: 61.3 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. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring. It is also customizable, so users can change the editor's theme, keyboard shortcuts, and preferences. It is free and open-source,[5][6] although the official download is under a proprietary license.[4]

Visual Studio Code is based on Electron, a framework which is used to deploy Node.js applications for the desktop running on the Blink layout engine. Although it uses the Electron framework,[7] the software does not use Atom and instead employs the same editor component (codenamed "Monaco") used in Visual Studio Team Services (formerly called Visual Studio Online).[8]

In the Stack Overflow 2018 Developer Survey, Visual Studio Code was ranked the most popular developer environment tool, with 34.9% of 75,398 respondents claiming to use it.[9]

History

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

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

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
Visual Studio Code 1.17 logo

Visual Studio Code is a source code editor. It supports a number of programming languages and a set of features that may or may not be available for a given language, as shown in the following table. Many of Visual Studio Code features are not exposed through menus or the user interface. Rather, they are accessed via the command palette or via a .json file (e.g., user preferences).[12] The command palette is a command-line interface. However, it disappears if the user clicks anywhere outside it or presses a key combination on the keyboard to interact with something outside it. When this happens, the command in progress is cancelled.

In the role of a source code editor, Visual Studio Code allows changing the code page in which the active document is saved, the character that identifies line break (a choice between LF and CRLF), and the programming language of the active document.

Out-of-the-box support for programming and scripting languages[13]
Language Snippets Syntax highlighting Brace matching Code folding
C and C++ Yes Yes Yes Yes
C# Yes Yes Yes Yes
Clojure No Yes Yes No
CoffeeScript Yes Yes Yes Yes
CSS No Yes Yes No
Dockerfile No Yes Yes No
F# Yes Yes Yes Yes
Go No Yes Yes No
Groovy Yes Yes Yes No
Handlebars No Yes Yes No
HLSL No Yes Yes No
HTML Yes Yes Yes No
INI file No Yes Yes No
Java Yes Yes Yes Yes
JavaScript Yes Yes Yes Yes
JSON No Yes Yes No
LESS No Yes Yes Yes
Log file No Yes No No
Lua No Yes Yes No
Makefile No Yes Yes No
Markdown Yes Yes No No
Objective-C No Yes Yes No
Perl No Yes Yes No
PHP No Yes Yes No
PowerShell Yes Yes Yes Yes
Pug JS No Yes Yes No
Python Yes Yes Yes Yes
R No Yes Yes No
Razor No Yes Yes Yes
Ruby No Yes Yes No
Rust No Yes Yes No
SCSS No Yes Yes Yes
Shaderlab No Yes Yes No
Shell script No Yes Yes No
SQL No Yes Yes No
Swift Yes Yes Yes No
TypeScript Yes Yes Yes Yes
Visual Basic Yes Yes Yes Yes
Windows batch file Yes Yes Yes Yes
XML No Yes Yes No
YAML No Yes Yes No

Visual Studio Code can be extended via plug-ins,[14] available through a central repository. This includes additions to the editor[15] and language support.[12] A notable feature is the ability to create extensions that analyze code, such as linters and tools for static analysis, using the Language Server Protocol.[16]

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.[17] However, in the 2018 Developers Survey, Visual Studio Code was ranked #1, with 34.9% of the 75,398 respondents using it.[9]

Data collection

Visual Studio Code collects usage data and sends it to Microsoft, although this telemetry reporting can be disabled.[18] The data is shared among Microsoft-controlled affiliates and subsidiaries and with law enforcement, per the privacy statement.[19] Because of the open-source nature of the app, it is known exactly what is collected.[20]

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. ^ a b "Microsoft Software License Terms". code.visualstudio.com. Microsoft. Retrieved 16 August 2016.
  5. ^ a b "Visual Studio now supports debugging Linux apps; Code editor now open source". Ars Technica. Retrieved 18 November 2015.
  6. ^ Lardinois, Frederic (April 29, 2015). "Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor For OS X, Linux And Windows". TechCrunch.
  7. ^ "Microsoft's new Code editor is built on Google's Chromium". Ars Technica. Retrieved 18 November 2015.
  8. ^ "Monaco Editor". microsoft.github.io/monaco-editor.
  9. ^ a b "Developer Survey Results 2018". StackOverflow Insights. Stack Exchange. Retrieved 7 April 2018.
  10. ^ 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".
  11. ^ "Visual Studio Code editor hits version 1, has half a million users". Ars Technica. Condé Nast. 15 April 2016.
  12. ^ a b "Language Support in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  13. ^ "Built-in extensions (@builtin)". Visual Studio Code 1.24.1. Microsoft Corporation. 13 June 2018.
  14. ^ "Extending Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  15. ^ "Managing Extensions in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  16. ^ "Creating Language Servers for Visual Studio Code". Retrieved 2017-02-27.
  17. ^ "Developer Survey Results 2016". Stack Overflow Insights. Stack Exchange. Retrieved 7 April 2018.
  18. ^ "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. {{cite web}}: Unknown parameter |dead-url= ignored (|url-status= suggested) (help)
  19. ^ "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); Unknown parameter |dead-url= ignored (|url-status= suggested) (help)
  20. ^ https://github.com/Microsoft/vscode/tree/master/src/vs/platform/telemetry

External links