Visual Studio Code

From Wikipedia, the free encyclopedia
  (Redirected from VSCode)
Jump to navigation Jump to search
Visual Studio Code
Visual Studio Code 1.18 icon.svg
Visual Studio Code running on Windows 10, with the Search function shown.
Visual Studio Code running on Windows 10, with the Search function shown.
Developer(s)Microsoft
Initial releaseApril 29, 2015; 3 years ago (2015-04-29)
Stable release1.30.0 (11 December 2018; 5 days ago (2018-12-11)) [±][1][2]
Preview release1.30.0-insider (November 1, 2018; 45 days ago (2018-11-01)) [±][3]
Repository Edit this at Wikidata
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[4]
TypeSource code editor, debugger
License
Websitecode.visualstudio.com

Visual Studio Code is an open-source and free 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,[8][9] although the official download is under a proprietary license.[7]

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,[10] 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).[11]

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

History[edit]

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

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

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

Features[edit]

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).[15] 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[citation needed]
Language Snippets Syntax highlighting Brace matching Code folding
C and C++ Yes Partial 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 Yes
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 Yes

Visual Studio Code can be extended via plug-ins,[16] available through a central repository. This includes additions to the editor[17] and language support.[15] 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.[18]

Reception[edit]

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

Data collection[edit]

Visual Studio Code collects usage data and sends it to Microsoft, although this telemetry reporting can be disabled.[20] The data is shared among Microsoft-controlled affiliates and subsidiaries and with law enforcement, per the privacy statement.[21] Because of the open-source nature of the app, it is known exactly what is collected, provided you build the app from source; upstream's binary is shipped under a proprietary licence.[22]

See also[edit]

References[edit]

  1. ^ "Visual Studio Code updates". 12 September 2018.
  2. ^ https://github.com/Microsoft/vscode/releases
  3. ^ "Download VS Code Insiders". code.visualstudio.com. Microsoft. Retrieved April 6, 2018.
  4. ^ "Visual Studio Code Display Language (Locale)". code.visualstudio.com. Microsoft. Retrieved 17 July 2017.
  5. ^ "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. ^ a b "Visual Studio now supports debugging Linux apps; Code editor now open source". Ars Technica. Retrieved 18 November 2015.
  9. ^ Lardinois, Frederic (April 29, 2015). "Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor For OS X, Linux And Windows". TechCrunch.
  10. ^ "Microsoft's new Code editor is built on Google's Chromium". Ars Technica. Retrieved 18 November 2015.
  11. ^ "Monaco Editor". microsoft.github.io/monaco-editor.
  12. ^ a b "Developer Survey Results 2018". StackOverflow Insights. Stack Exchange. Retrieved 7 April 2018.
  13. ^ 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".
  14. ^ "Visual Studio Code editor hits version 1, has half a million users". Ars Technica. Condé Nast. 15 April 2016.
  15. ^ a b "Language Support in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  16. ^ "Extending Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  17. ^ "Managing Extensions in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  18. ^ "Creating Language Servers for Visual Studio Code". Retrieved 2017-02-27.
  19. ^ "Developer Survey Results 2016". Stack Overflow Insights. Stack Exchange. Retrieved 7 April 2018.
  20. ^ "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.
  21. ^ "Microsoft Enterprise and Developer Privacy Statement". privacy.microsoft.com. Microsoft. Archived from the original on 4 November 2016. Retrieved 4 November 2016.
  22. ^ https://github.com/Microsoft/vscode/tree/master/src/vs/platform/telemetry

External links[edit]