Visual Studio Code Explained

Visual Studio Code
Logo Size:128px
Logo Caption:Logo used since May 2019
Screenshot Size:300px
Developer:Microsoft
Programming Language:TypeScript, JavaScript, HTML, CSS
Operating System:Windows 10 or later, macOS 10.15 or later, Linux
Platform:x86-64, ARM32,[1] ARM64
Language:English (US), Simplified Chinese, Traditional Chinese, French, German, Italian, Portuguese (Brazil), Japanese, Korean, Russian, Spanish, Hungarian, Turkish, Polish, Czech[2]
Language Count:15
Genre:Source-code editor
License:Proprietary freeware[3] [4] based on open-source project[5] [6]

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

In the Stack Overflow 2023 Developer Survey, Visual Studio Code was ranked the most popular developer environment tool among 86,544 respondents, with 73.71% reporting that they use it. [10]

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

On November 18, 2015, the project "Visual Studio Code - Open Source" (also known as "Code - OSS"), on which Visual Studio Code is based, was released under the open-source MIT License and made available on GitHub.[12] 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]

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, and Julia.[15] [16] [17] [18] [19] Visual Studio Code employs the same editor component (codenamed "Monaco") used in Azure DevOps (formerly called "Visual Studio Online" and "Visual Studio Team Services").[20]

The downloadable version of Visual Studio Code is built on the Electron framework,[21] which is used to develop Node.js web applications that run on the Blink layout engine. Visual Studio Code for the Web is a browser-based version of the editor that can be used to edit both local files and remote repositories (on GitHub and Microsoft Azure) without installing the full program.[22] It is officially supported and hosted by Microsoft and can be accessed at .

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

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 settings. Many Visual Studio Code features are not exposed through menus or the user interface but can be accessed via the command palette. The command palette is able to execute virtually every feature the graphical interface supports, making it very keyboard-accessible.[24]

Visual Studio Code can be extended via extensions,[25] available through a central repository. This includes additions to the editor[26] and language support.[27] 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.[28]

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 collects usage data and sends it to Microsoft to help improve the product. This telemetry feature can be disabled.[29] The information contained in this telemetry data can be inspected by the public, since the product is open source.[30]

Insiders

128px|thumb|right|Visual Studio Code Insiders logo|alt=An orange version of the Visual Studio Code logo for the insiders version of Visual Studio CodeA nightly build called Visual Studio Code Insiders is also available. Its configuration, including any settings, extensions, themes are completely separate from the standard build. This enables side-by-side installation of both builds without any interference.

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.[31] Two years later, however, Visual Studio Code achieved the No. 1 spot, with 35% of the 75,000 respondents using it.[32] In the 2019 Developers Survey, Visual Studio Code was also ranked No. 1, with 50% of the 87,000 respondents using it.[33] The 2020 Developers Survey did not cover integrated development environments.[34] In the 2021 Developers Survey, Visual Studio Code continued to be ranked No. 1, with 74.5% of the 71,000 respondents using it,[35] 74.48% of the 71,010 responses in the 2022 survey,[36] and 73.71% of the 86,544 responses in the 2023 survey.[37]

CEC-IDE controversy

On June 20, 2023, during the Guangdong Province's Digital Government Innovation Development Forum held in Guangzhou, CEC-IDE was released and described as the first Chinese-produced integrated development tool.[38] [39] However, CEC-IDE was subsequently found to be a rebranded release of Visual Studio Code that, among other things, failed to include a copy of the MIT license as required for redistributions. On August 26, Digital Guangdong published a statement admitting that CEC-IDE is based on Visual Studio Code.[40]

See also

External links

Notes and References

  1. [Linux]
  2. Web site: Visual Studio Code Display Language (Locale) . Visual Studio Code . Microsoft . 2023-11-08 . 2023-11-08 . https://web.archive.org/web/20231108012253/https://code.visualstudio.com/docs/getstarted/locales . live .
  3. Web site: Download Visual Studio Code . Visual Studio Code . Microsoft . 16 August 2016 . 17 August 2016 . https://web.archive.org/web/20160817000302/http://code.visualstudio.com/Download . live .
  4. Web site: Microsoft Software License Terms . Visual Studio Code . . 16 August 2016 . 21 October 2017 . https://web.archive.org/web/20171021202400/https://code.visualstudio.com/License . live .
  5. Web site: LICENSE.txt . . github.com/Microsoft/vscode . 17 November 2015 . 17 April 2021 . 27 March 2021 . https://web.archive.org/web/20210327164850/https://github.com/microsoft/vscode/blob/main/LICENSE.txt . live .
  6. Web site: Underjord . The best parts of Visual Studio Code are proprietary . 2021-02-10 . 2021-02-06 . https://web.archive.org/web/20210206042655/https://underjord.io/the-best-parts-of-visual-studio-code-are-proprietary.html . live .
  7. Web site: Stanton . Lee . 2021-08-17 . How to Run Code in VS Code . 2022-04-03 . Alphr . en-US . 2022-06-02 . https://web.archive.org/web/20220602104804/https://www.alphr.com/vs-code-run-code/ . live .
  8. News: Lardinois . Frederic . April 29, 2015 . Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor For OS X, Linux And Windows . . April 15, 2018 . October 28, 2017 . https://web.archive.org/web/20171028161004/https://techcrunch.com/2015/04/29/microsoft-shocks-the-world-with-visual-studio-code-a-free-code-editor-for-os-x-linux-and-windows/ . live .
  9. Web site: Devine . Richard . How to use Visual Studio Code in a web browser . Windows Central . 11 April 2024 . en . 22 December 2022 . 15 April 2024 . https://web.archive.org/web/20240415101247/https://www.windowscentral.com/how-use-visual-studio-code-web-browser . live .
  10. Web site: Stack Overflow Developer Survey 2023 . Stack Overflow . 7 July 2023 . 4 November 2023 . https://web.archive.org/web/20231104170531/https://survey.stackoverflow.co/2023/#technology-most-popular-technologies . live .
  11. Web site: Announcing Visual Studio Code - Preview. April 29, 2015. Sean. McBreen. https://web.archive.org/web/20151009211114/http://blogs.msdn.com/b/vscode/archive/2015/04/29/announcing-visual-studio-code-preview.aspx. 2015-10-09.
  12. Web site: Dias. Chris. 4 December 2015. Issue: Menu license links to non Open Source license. Microsoft/vscode repo. Microsoft. Response #161792005. 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.. 21 February 2019. 4 September 2022. https://web.archive.org/web/20220904000420/https://github.com/Microsoft/vscode/issues/60#issuecomment-161792005. live.
  13. News: Visual Studio now supports debugging Linux apps; Code editor now open source. 18 November 2015. Ars Technica. 11 April 2019. https://web.archive.org/web/20190411195700/https://arstechnica.com/information-technology/2015/11/visual-studio-now-supports-debugging-linux-apps-code-editor-now-open-source/. live.
  14. Web site: Visual Studio Code editor hits version 1, has half a million users. Ars Technica. Condé Nast. 15 April 2016. 15 June 2017. 7 July 2017. https://web.archive.org/web/20170707120125/https://arstechnica.com/information-technology/2016/04/visual-studio-code-editor-hits-version-1-has-half-a-million-users/. live.
  15. Web site: Visual Studio Code: A fast, lightweight, cross-platform code editor. Joydip. Kanjilal. 2015-05-06. InfoWorld. 2019-01-25. 2019-01-25. https://web.archive.org/web/20190125183306/https://www.infoworld.com/article/2919555/microsoft-net/visual-studio-code-a-fast-lightweight-and-cross-platform-code-editor.html. live.
  16. Web site: It's gotten a little easier to develop PWAs in Windows. Simon. Bisson. 2018-09-11. InfoWorld. 2019-01-25. 2019-01-25. https://web.archive.org/web/20190125183323/https://www.infoworld.com/article/3304957/web-development/its-gotten-a-little-easier-to-develop-pwas-in-windows.html. live.
  17. Web site: What's new in Microsoft Visual Studio Code. Paul. Krill. 2018-02-24. ChannelWorld. 2019-01-25. 2019-01-25. https://web.archive.org/web/20190125183213/http://www.channelworld.in/news/whats-new-microsoft-visual-studio-code. dead.
  18. Web site: Debugging JavaScript Projects with VS Code & Chrome Debugger. Michael. Wanyoike. 2018-06-06. SitePoint. 2019-01-25. 2019-01-25. https://web.archive.org/web/20190125130917/https://www.sitepoint.com/debugging-javascript-projects-vs-code-chrome-debugger/. live.
  19. Web site: Julia in Visual Studio Code . 2023-05-26 . Visual Studio Code . en . 2023-05-26 . https://web.archive.org/web/20230526231012/https://code.visualstudio.com/docs/languages/julia . live .
  20. Web site: Monaco Editor. microsoft.github.io/monaco-editor. 2016-11-03. 2017-08-30. https://web.archive.org/web/20170830163725/https://microsoft.github.io/monaco-editor/. live.
  21. Web site: Microsoft's new Code editor is built on Google's Chromium . . 29 April 2015 . 18 November 2015 . 7 May 2015 . https://web.archive.org/web/20150507020146/https://arstechnica.com/information-technology/2015/04/microsofts-new-code-editor-is-built-on-googles-chromium/ . live .
  22. Web site: Visual Studio Code for the Web . code.visualstudio.com . 11 April 2024 . en . 9 April 2024 . https://web.archive.org/web/20240409022034/https://code.visualstudio.com/docs/editor/vscode-web . live .
  23. Web site: Programming Languages, Hundreds of programming languages supported . Microsoft . 2016-10-11 . 2017-05-11 . https://web.archive.org/web/20170511180310/https://code.visualstudio.com/Docs/languages/overview . live .
  24. Web site: Visual Studio Code User Interface . 2024-04-06 . code.visualstudio.com . en . 2024-08-06 . https://web.archive.org/web/20240806050652/https://code.visualstudio.com/docs/getstarted/userinterface . live .
  25. Web site: Extending Visual Studio Code . Visual Studio Code . October 10, 2016 . 2016-10-12 . 2016-10-18 . https://web.archive.org/web/20161018124435/http://code.visualstudio.com/docs/extensions/overview . live .
  26. Web site: Managing Extensions in Visual Studio Code . Visual Studio Code . October 10, 2016 . 2016-10-12 . 2021-01-24 . https://web.archive.org/web/20210124105840/https://code.visualstudio.com/docs/editor/extension-gallery . live .
  27. Web site: Language Support in Visual Studio Code . Visual Studio Code . October 10, 2016 . 2016-10-12 . 2017-05-11 . https://web.archive.org/web/20170511180310/https://code.visualstudio.com/Docs/languages/overview . live .
  28. News: Creating Language Servers for Visual Studio Code . Visual Studio Code . 2017-02-27. 2017-09-01. https://web.archive.org/web/20170901125849/https://code.visualstudio.com/docs/extensions/example-language-server. live.
  29. Web site: Visual Studio Code FAQ . Visual Studio Code . Microsoft . 4 November 2016 . https://web.archive.org/web/20160828111301/https://code.visualstudio.com/docs/supporting/faq . 28 August 2016 . live . 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..
  30. Web site: vscode/src/vs/platform/telemetry at main branch . microsoft/vscode repo . . . 24 March 2020 . 25 November 2021 . https://web.archive.org/web/20211125061716/https://github.com/microsoft/vscode/tree/main/src/vs/platform/telemetry . live .
  31. Web site: Developer Survey Results 2016. Stack Overflow Insights. Stack Exchange. 7 April 2018. 18 March 2016. https://web.archive.org/web/20160318113033/http://stackoverflow.com/research/developer-survey-2016#technology-development-environments. live.
  32. Web site: Developer Survey Results 2018 . StackOverflow Insights . Stack Exchange . 7 April 2018 . 6 March 2020 . https://web.archive.org/web/20200306080413/https://insights.stackoverflow.com/survey/2018 . live .
  33. Web site: Developer Survey Results 2019 – Most Popular Development Environments . Stack Overflow Insights . Stack Exchange . 10 April 2019 . 7 March 2020 . https://web.archive.org/web/20200307082721/https://insights.stackoverflow.com/survey/2019#development-environments-and-tools . live .
  34. Web site: Stack Overflow Developer Survey 2020 - Development Environments and Tools . Stack Overflow Insights . Stack Exchange . 8 November 2023 . 1 November 2023 . https://web.archive.org/web/20231101001715/https://survey.stackoverflow.co/2020#development-environments-and-tools . live .
  35. Web site: Stack Overflow Developer Survey 2021 - Integrated Development Environment . Stack Overflow Insights . Stack Exchange . 11 August 2021 . 13 April 2022 . https://web.archive.org/web/20220413214054/https://insights.stackoverflow.com/survey/2021#section-most-popular-technologies-integrated-development-environment . live .
  36. Web site: Stack Overflow Developer Survey 2022 - Integrated development environment . Stack Overflow Insights . Stack Exchange . 28 June 2022 . 27 June 2022 . https://web.archive.org/web/20220627034954/https://survey.stackoverflow.co/2022/#section-most-popular-technologies-integrated-development-environment . live .
  37. Web site: Stack Overflow Developer Survey 2023 - Integrated development environment . Stack Overflow Insights . Stack Exchange . 8 November 2023 . 4 November 2023 . https://web.archive.org/web/20231104170531/https://survey.stackoverflow.co/2023/#section-most-popular-technologies-integrated-development-environment . live .
  38. Web site: 广东省数字政府科技创新发展论坛举办. Guangdong Province Digital Government Technology Innovation Development Forum Held. zh-cn. 2023-06-21. People's Government of Guangdong Province. 2023-07-21. https://web.archive.org/web/20230721015652/https://www.gd.gov.cn/gdywdt/dsdt/content/post_4205291.html.
  39. Web site: "粤"上高地|麒麟软件与数字广东携手推动广东数字政府建设. 2023-06-26. Weixin Public Platform. 麒麟软件. zh-cn. 2023-08-30. 2023-10-24. https://web.archive.org/web/20231024224153/https://mp.weixin.qq.com/s/v_smby8ua1vmnxI8mOhq8w. live.
  40. Web site: Chinese vendor apologizes for claiming Microsoft open source code was its own product. August 31, 2023. August 6, 2024. The Register. Sharwood. Simon. September 21, 2023. https://web.archive.org/web/20230921010149/https://www.theregister.com/AMP/2023/08/31/digital_guangdong_opensouce_ripoff_apology/. live.