Visual Studio Code

From Wikipedia, the free encyclopedia
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.32.3 (15 March 2019; 6 days ago (2019-03-15)) [±][1]
Preview release1.33.0-insider (March 15, 2019; 6 days ago (2019-03-15)) [±][2]
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: 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[3]
TypeSource code editor, debugger
License
Websitecode.visualstudio.com

Visual Studio Code is a source-code editor developed by Microsoft for Windows, Linux and macOS.[7] 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. The source code is free and open source and released under the permissive MIT License.[8] The compiled binaries are freeware and free for private or commercial use.[9]

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 Azure DevOps (formerly called Visual Studio Online and Visual Studio Team Services).[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.[14]

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

Features[edit]

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

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

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 for Windows/Linux, 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.

Language support[edit]

Visual Studio Code has out-of-the-box support for almost every major programming language. Several are included by default, for example, JavaScript, TypeScript, CSS, and HTML but other language extensions can be found and downloaded for free from the VS Code Marketplace.[20]

Language Snippets Syntax highlighting Brace matching Code folding
ActionScript [21] [22] No Yes Yes Yes
C and C++ [23] Yes Partial Yes Yes
C# [24] Yes Yes Yes Yes
Clojure [25] [26] No Yes Yes No
CoffeeScript [27] Yes Yes Yes Yes
CSS [28] [29] No Yes Yes No
D (Dlang) [30] No Yes Yes Yes
Dockerfile [31] No Yes Yes No
F# [32] Yes Yes Yes Yes
Go [33] [34] No Yes Yes Yes
Groovy [35] Yes Yes Yes No
Handlebars [36] No Yes Yes No
Haxe [37] No Yes Yes Yes
HLSL [38] [39] No Yes Yes No
HTML [40] Yes Yes Yes Yes
INI file [41] No Yes Yes No
Java [42] Yes Yes Yes Yes
JavaScript [43] Yes Yes Yes Yes
JSON [44] No Yes Yes Yes
LESS [28] [45] No Yes Yes Yes
Log file [46] No Yes No No
Lua [47] No Yes Yes No
Makefile [48] No Yes Yes No
Markdown [49] Yes Yes No No
Perl [50] No Yes Yes No
PHP [51] [52] No Yes Yes No
PowerShell [53] Yes Yes Yes Yes
Python [54] Yes Yes Yes Yes
R [55] No Yes Yes No
Razor [56] No Yes Yes Yes
Ruby [57] [58] No Yes Yes Yes
Rust [59] No Yes Yes No
SCSS [28] [60] No Yes Yes Yes
Shaderlab [38] [61] No Yes Yes No
SQL [62] [63] [64] No Yes Yes No
Swift [65] [66] Yes Yes Yes No
TypeScript [67] [68] Yes Yes Yes Yes
Visual Basic [69] Yes Yes Yes Yes
XML [70] No Yes Yes Yes
YAML [71] No Yes Yes Yes

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

Visual Studio Code is widely reviewed to be fast and lightweight, and is considered to be flexible across various domains such as Java, JavaScript, Go, Node.js and even C++.[73][74][75][76]

Data collection[edit]

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

VSCodium is an alternative binary distribution of the software which 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.[80]

See also[edit]

References[edit]

  1. ^ https://github.com/Microsoft/vscode/releases
  2. ^ "Download VS Code Insiders". code.visualstudio.com. Microsoft. Retrieved 15 March 2019.
  3. ^ "Visual Studio Code Display Language (Locale)". code.visualstudio.com. Microsoft. Retrieved 17 July 2017.
  4. ^ "LICENSE.txt". github.com/Microsoft/vscode. Microsoft. 17 November 2015.
  5. ^ "Download Visual Studio Code". code.visualstudio.com. Microsoft. Retrieved 16 August 2016.
  6. ^ "Microsoft Software License Terms". code.visualstudio.com. Microsoft. Retrieved 16 August 2016.
  7. ^ Lardinois, Frederic (April 29, 2015). "Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor For OS X, Linux And Windows". TechCrunch.
  8. ^ Comment on Menu license links to non Open Source license, VS Code Repository on Github
  9. ^ VS Code FAQ, VS Code, "VS Code is free for private or commercial use."
  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 now supports debugging Linux apps; Code editor now open source". Ars Technica. Retrieved 18 November 2015.
  15. ^ "Visual Studio Code editor hits version 1, has half a million users". Ars Technica. Condé Nast. 15 April 2016.
  16. ^ a b "Language Support in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  17. ^ "Extending Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  18. ^ "Managing Extensions in Visual Studio Code". Visual Studio Code. October 10, 2016. Retrieved 2016-10-12.
  19. ^ "Creating Language Servers for Visual Studio Code". Retrieved 2017-02-27.
  20. ^ "Programming Languages, Hundreds of programming languages supported". Microsoft.
  21. ^ "ActionScript & MXML in Visual Studio Code". Bowler Hat LLC. Retrieved 2019-02-21.
  22. ^ Bowler Hat LLC. "ActionScript & MXML Extension". Visual Studio Marketplace. Retrieved 2019-02-21.
  23. ^ "C/C++ for Visual Studio Code (Preview)". Microsoft. Retrieved 2019-02-21.
  24. ^ "Working with C# in VS Code". Microsoft. Retrieved 2019-02-21.
  25. ^ Andrey Lisin. "Clojure support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  26. ^ Better Than Tomorrow. "Calva: Clojure & Clojurescript Interactive Programming". Visual Studio Marketplace. Retrieved 2019-02-21.
  27. ^ Yucheng Chuang. "Coffeescript support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  28. ^ a b c "CSS, SCSS and Less". Microsoft. Retrieved 2019-02-21.
  29. ^ "6 Awesome CSS Extensions for VS Code". Scotch Tutorials. Retrieved 2019-02-21.
  30. ^ WebFreak. "D Programming Language (code-d)". Visual Studio Marketplace. Retrieved 2019-02-21.
  31. ^ "Working with Docker in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  32. ^ "Get Started with F# in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  33. ^ "Go in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  34. ^ "Debugging Go Code with Visual Studio Code". Scotch Tutorials. Retrieved 2019-02-21.
  35. ^ Marlon Franca. "Groovy support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  36. ^ André Junges. "Handlebars support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  37. ^ Nadako. "Haxe support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  38. ^ a b Slevesque. "Shader languages support for VS Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  39. ^ Tim G. Jones. "HLSL Tools for Visual Studio". Visual Studio Marketplace. Retrieved 2019-02-21.
  40. ^ "HTML in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  41. ^ David Wang. "INI for VSCode". Visual Studio Marketplace. Retrieved 2019-02-21.
  42. ^ "Java in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  43. ^ "JavaScript in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  44. ^ "Editing JSON with Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  45. ^ Mads Kristensen. "LESS Compiler for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  46. ^ Emil Åström. "Log File Highlighter for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  47. ^ Trix NZ. "Lua support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  48. ^ Technosophos. "Make support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  49. ^ "Markdown and Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  50. ^ Henrik Sjööh. "Perl support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  51. ^ "PHP in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  52. ^ DEVSENSE. "PHP support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  53. ^ "PowerShell in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  54. ^ "Python in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  55. ^ Yuki Ueda. "R support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  56. ^ "Razor support in Visual Studio Code now in Preview". Microsoft Blogs. Retrieved 2019-02-21.
  57. ^ Peng Lv. "Ruby support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  58. ^ Will Velida. "Using Visual Studio Code for Ruby Development". Medium. Retrieved 2019-02-21.
  59. ^ Rust Team. "Rust support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  60. ^ Ritwick Dey. "Live Sass Compiler for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  61. ^ Amlovey. "Shaderlab for VS Code Free". Visual Studio Marketplace. Retrieved 2019-02-21.
  62. ^ "Transact-SQL in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  63. ^ Matheus Teixeira. "SQLTools - Database tools". Visual Studio Marketplace. Retrieved 2019-02-21.
  64. ^ "Use Visual Studio Code to create and run Transact-SQL scripts on Linux". Microsoft. Retrieved 2019-02-21.
  65. ^ "Swift Development with Visual Studio Code". NSHipster. Retrieved 2019-02-21.
  66. ^ Martin Kase. "Swift Language support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  67. ^ "TypeScript in Visual Studio Code". Microsoft. Retrieved 2019-02-21.
  68. ^ "400 TypeScript extensions for VS Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  69. ^ Darfka. "VBScript support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  70. ^ Josh Johnson. "XML Formatting, XQuery, and XPath Tools for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  71. ^ Red Hat Inc. "YAML support for Visual Studio Code". Visual Studio Marketplace. Retrieved 2019-02-21.
  72. ^ "Developer Survey Results 2016". Stack Overflow Insights. Stack Exchange. Retrieved 7 April 2018.
  73. ^ Kanjilal, Joydip (2015-05-06). "Visual Studio Code: A fast, lightweight, cross-platform code editor". InfoWorld.
  74. ^ Bisson, Simon (2018-09-11). "It's gotten a little easier to develop PWAs in Windows". InfoWorld.
  75. ^ Krill, Paul (2018-02-24). "What's new in Microsoft Visual Studio Code". ChannelWorld.
  76. ^ Wanyoike, Michael (2018-06-06). "Debugging JavaScript Projects with VS Code & Chrome Debugger". SitePoint.
  77. ^ "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.
  78. ^ "Microsoft Enterprise and Developer Privacy Statement". privacy.microsoft.com. Microsoft. Archived from the original on 4 November 2016. Retrieved 4 November 2016.
  79. ^ https://github.com/Microsoft/vscode/tree/master/src/vs/platform/telemetry
  80. ^ binary releases of VS Code without MS branding/telemetry/licensing: VSCodium/vscodium, VSCodium, 2019-03-17, retrieved 2019-03-18

External links[edit]