Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Visual Studio Code

From Wikipedia, the free encyclopedia
(Redirected fromVS Code)
Integrated development environment from Microsoft
Not to be confused withVisual Studio.
Visual Studio Code
Logo used since May 2019
Visual Studio Code starting screen with dark theme
Developer(s)Microsoft
Initial releaseApril 29, 2015; 9 years ago (2015-04-29)
Stable release
1.98.2[1] Edit this on Wikidata / 13 March 2025
Preview release
1.99.0-insiders[2] Edit this on Wikidata / 11 March 2025
Repository
Written inTypeScript,JavaScript,HTML,CSS[3]
Operating systemWindows 10 or later,macOS 11 or later,Linux
Platformx86-64,ARM32,ARM64
Size
  • Windows: 93–97 MB
  • Linux: 89–137 MB
  • macOS: 127–217 MB
Available in15 languages
List of languages
English (US), Simplified Chinese, Traditional Chinese, French, German, Italian, Portuguese (Brazil), Japanese, Korean, Russian, Spanish, Hungarian, Turkish, Polish, Czech[4]
TypeIntegrated development environment
LicenseProprietaryfreeware[5][6] based onopen-source project[7][8]
Websitecode.visualstudio.com Edit this on Wikidata

Visual Studio Code, commonly referred to asVS Code,[9] is anintegrated development environment developed byMicrosoft forWindows,Linux,macOS andweb browsers.[10][11] Features include support fordebugging,syntax highlighting,intelligent code completion,snippets,code refactoring, and embeddedversion control withGit. Users can change thetheme,keyboard shortcuts, preferences, and installextensions that add functionality.

Visual Studio Code isproprietary software released under the "Microsoft Software License",[6] but based on theMIT licensed program named "Visual Studio Code — Open Source" (also known as "Code — OSS"), also created by Microsoft and available throughGitHub.[12]

In the 2024Stack Overflow Developer Survey, out of 58,121 responses, 73.6% of respondents reported using Visual Studio Code, more than twice the percentage of respondents who reported using its nearest alternative,Visual Studio.[13]

History

[edit]

Visual Studio Code was first announced on April 29, 2015 by Microsoft at the 2015Build conference. Apreview build was released shortly thereafter.[14]

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 theopen-sourceMIT License and made available onGitHub.[12]

Extension support was also announced.[15] On April 14, 2016, Visual Studio Code graduated from thepublic preview stage and wasreleased to the web.[16]

Features

[edit]

Code Editor

[edit]

Visual Studio Code is a source-code editor that can be used with a variety of programming languages, includingC,C#,C++,Fortran,Go,Java,JavaScript,Node.js,Python,Rust, andJulia.[17][18][19][20][21] Visual Studio Code employs the same editor component (codenamed "Monaco") used inAzure DevOps (formerly called "Visual Studio Online" and "Visual Studio Team Services").[22]

The downloadable version of Visual Studio Code is built on theElectron framework,[23] which is used to developNode.jsweb applications that run on theBlink 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 (onGitHub andMicrosoft Azure) without installing the full program.[24] It is officially supported and hosted by Microsoft and can be accessed atvscode.dev.

Out of the box, Visual Studio Code includes basic support for most common programming languages. This basic support includessyntax highlighting,bracket matching,code folding, and configurable snippets. Visual Studio Code also ships withIntelliSense for JavaScript, TypeScript,JSON,CSS, andHTML, as well as debugging support for Node.js. Support for additional languages can be provided by freely available extensions on the VS Code Marketplace.[25]

Debugging

[edit]

VS Code features a built-indebugger designed to enhance the development process. It provides native support for debuggingNode.js applications, while additional debuggers for other programming languages can be installed via extensions. The debugger allowsdevelopers to attach to running processes and step through source code line-by-line during execution, offering a detailed view of program flow. It can also displaydisassembly for low-level analysis inC++.[26] Furthermore, users can setbreakpoints—either standard or conditional—to pause execution at specific points and examine the program's state, while also monitoring variable values in real-time as the code runs.

An interactive feature of VS Code's debugging toolkit is the Debug Console.[27] This panel is integrated directly into the debugging session, enabling users to evaluate expressions, such as checking variable values or testingfunctions, and executecommands on the fly. This functionality provides developers with greater control and deeper insight into the program's behavior.

File Management and Workspace

[edit]

Instead of a project system, VS Code allows users to open one or moredirectories, which can then be saved in workspaces for future reuse. This allows it to operate as alanguage-agnostic code editor for any language. It supports many programming languages and a set of features that differ 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.[28] The command palette is able to execute virtually every feature the graphical interface supports, making it very keyboard-accessible.[29]

Extensibility and Customization

[edit]

Visual Studio Code can be extended viaextensions.[30] Users may install extensions from the VS Code Marketplace to add language support,[28] editor,[31] themes, debuggers, and additional utilities. A notable feature is the ability to create extensions that add support for newlanguages,themes,debuggers,time travel debuggers, performstatic code analysis, and addcode linters using theLanguage Server Protocol.[32]

Source Control

[edit]

Source control is a built-in feature of Visual Studio Code. It has a dedicated tab inside 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 and to make push andpull requests directly from the Visual Studio Code program.

Visual Studio Codecollects usage data and sends it to Microsoft to help improve the product. This telemetry feature can be disabled.[33] The information contained in this telemetry data can be inspected by the public, since the product is open source.[34]

Remote Development and Web-based Access

[edit]

VS Code supports remote development through extensions such as Remote -SSH, Remote -Containers, and Remote -WSL. These tools enable users to connect to and develop within remote environments, including servers and containers.

Visual Studio Code for the Web (accessible at vscode.dev) allows users to edit files directly in a web browser without the need to install the desktop application.[35] This version supports basic editing tasks and integration with remote repositories.

Insiders

[edit]
An orange version of the Visual Studio Code logo
Visual Studio Code Insiders logo

VS Code Insiders is anightly build version of this code editor, providing users with the opportunity to experience new features, bug fixes, and improvements ahead of their official release. It is compiled every night based on the latest changes from the development team, allowing users to test and provide feedback before these updates are officially released in the stable version.[36]

This version is completely independent of the standard version, meaning users can install and run both simultaneously without any interference between their settings, extensions, or themes. This design enables developers to explore and experiment with the latest features of the code editor without affecting their primary development environment.

Reception

[edit]

In the 2016Stack Overflow Developer Survey, Visual Studio Code ranked 13th among the top popular development tools, with only 7% of the 47,000 respondents using it.[37] Two years later, Visual Studio Code rose to the no. 1 spot, with 35% of the 75,000 respondents using it.[38] Since then Visual Studio Code has retained the no. 1 spot, with the percentage of respondents reporting using it increasing to 50% in 2019,[39] 74.5% in 2021,[40] 74.48% in 2022,[41] 73.71% in 2023,[42] and 73.6% in 2024.[43] (The 2020 Developers Survey did not coverintegrated development environments.[44])

Controversy

[edit]

CEC-IDE

[edit]

On June 20, 2023, during theGuangdong Province's Digital Government Innovation Development Forum held inGuangzhou, CEC-IDE was released and described as the first Chinese-produced integrated development tool.[45][46] 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.[47]

Removal of suspicious extension

[edit]

In late February 2025, Microsoft flagged an extension named 'Material Theme Icons – Free' as malicious due to setting of multiple red flags that indicated malicious intent, and banned the developer, Mattia Astorino, from the Marketplace over security concerns. Astorino contested the allegations, attributing the issue to an outdated dependency used since 2016 for displayingrelease notes. After further review, Microsoft acknowledged the mistake and publicly apologized to Astorino on March 12, accompanied by assurances from Microsoft that they would refine their scanning and review policies to prevent similar incidents in the future.[48]

See also

[edit]

References

[edit]
  1. ^"Release 1.98.2 (英語)". 13 March 2025.
  2. ^"Visual Studio Code Insiders (Install) 1.99.0.20250311". Retrieved13 March 2025.
  3. ^GitHub repository microsoft/vscode, Microsoft, 2020-12-20,archived from the original on 2015-11-23, retrieved2020-12-20
  4. ^"Visual Studio Code Display Language (Locale)".Visual Studio Code. Microsoft.Archived from the original on 2023-11-08. Retrieved2023-11-08.
  5. ^"Download Visual Studio Code".Visual Studio Code. Microsoft.Archived from the original on 17 August 2016. Retrieved16 August 2016.
  6. ^ab"Microsoft Software License Terms".Visual Studio Code.Microsoft.Archived from the original on 21 October 2017. Retrieved16 August 2016.
  7. ^"LICENSE.txt".github.com/Microsoft/vscode.Microsoft. 17 November 2015.Archived from the original on 27 March 2021. Retrieved17 April 2021.
  8. ^"The best parts of Visual Studio Code are proprietary".Underjord.Archived from the original on 2021-02-06. Retrieved2021-02-10.
  9. ^Stanton, Lee (2021-08-17)."How to Run Code in VS Code".Alphr.Archived from the original on 2022-06-02. Retrieved2022-04-03.
  10. ^Lardinois, Frederic (April 29, 2015)."Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor For OS X, Linux And Windows".TechCrunch.Archived from the original on October 28, 2017. RetrievedApril 15, 2018.
  11. ^Devine, Richard (22 December 2022)."How to use Visual Studio Code in a web browser".Windows Central.Archived from the original on 15 April 2024. Retrieved11 April 2024.
  12. ^abDias, Chris (4 December 2015)."Issue: Menu license links to non Open Source license".Microsoft/vscode repo.Microsoft. Response #161792005.Archived from the original on 4 September 2022. Retrieved21 February 2019 – viaGitHub.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.
  13. ^Stack Overflow (2024)."Technology | 2024 Stack Overflow Developer Survey".stackoverflow.co.Stack Overflow. Retrieved2025-01-04.
  14. ^McBreen, Sean (April 29, 2015)."Announcing Visual Studio Code — Preview". Archived fromthe original on 2015-10-09.
  15. ^"Visual Studio now supports debugging Linux apps; Code editor now open source".Ars Technica.Archived from the original on 11 April 2019. Retrieved18 November 2015.
  16. ^"Visual Studio Code editor hits version 1, has half a million users".Ars Technica.Condé Nast. 15 April 2016.Archived from the original on 7 July 2017. Retrieved15 June 2017.
  17. ^Kanjilal, Joydip (2015-05-06)."Visual Studio Code: A fast, lightweight, cross-platform code editor".InfoWorld.Archived from the original on 2019-01-25. Retrieved2019-01-25.
  18. ^Bisson, Simon (2018-09-11)."It's gotten a little easier to develop PWAs in Windows". InfoWorld.Archived from the original on 2019-01-25. Retrieved2019-01-25.
  19. ^Krill, Paul (2018-02-24)."What's new in Microsoft Visual Studio Code". ChannelWorld. Archived fromthe original on 2019-01-25. Retrieved2019-01-25.
  20. ^Wanyoike, Michael (2018-06-06)."Debugging JavaScript Projects with VS Code & Chrome Debugger".SitePoint.Archived from the original on 2019-01-25. Retrieved2019-01-25.
  21. ^"Julia in Visual Studio Code".Visual Studio Code.Archived from the original on 2023-05-26. Retrieved2023-05-26.
  22. ^"Monaco Editor".microsoft.github.io/monaco-editor.Archived from the original on 2017-08-30. Retrieved2016-11-03.
  23. ^"Microsoft's new Code editor is built on Google's Chromium".Ars Technica. 29 April 2015.Archived from the original on 7 May 2015. Retrieved18 November 2015.
  24. ^"Visual Studio Code for the Web".code.visualstudio.com.Archived from the original on 9 April 2024. Retrieved11 April 2024.
  25. ^"Programming Languages, Hundreds of programming languages supported". Microsoft.Archived from the original on 2017-05-11. Retrieved2016-10-11.
  26. ^Reid, Julia (2021-07-28)."Visual Studio Code C++ July 2021 Update: Disassembly View, Macro Expansion and Windows ARM64 Debugging".C++ Team Blog. Retrieved2025-02-27.
  27. ^"Debug code with Visual Studio Code".{{cite web}}: CS1 maint: url-status (link)
  28. ^ab"Language Support in Visual Studio Code".Visual Studio Code. October 10, 2016.Archived from the original on 2017-05-11. Retrieved2016-10-12.
  29. ^"Visual Studio Code User Interface".code.visualstudio.com.Archived from the original on 2024-08-06. Retrieved2024-04-06.
  30. ^"Extending Visual Studio Code".Visual Studio Code. October 10, 2016.Archived from the original on 2016-10-18. Retrieved2016-10-12.
  31. ^"Managing Extensions in Visual Studio Code".Visual Studio Code. October 10, 2016.Archived from the original on 2021-01-24. Retrieved2016-10-12.
  32. ^"Creating Language Servers for Visual Studio Code".Visual Studio Code.Archived from the original on 2017-09-01. Retrieved2017-02-27.
  33. ^"Visual Studio Code FAQ".Visual Studio Code. Microsoft.Archived from the original on 28 August 2016. Retrieved4 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.
  34. ^"vscode/src/vs/platform/telemetry at main branch".microsoft/vscode repo.Microsoft.Archived from the original on 25 November 2021. Retrieved24 March 2020 – viaGitHub.
  35. ^"vscode.dev(!)". Archived fromthe original on 2025-02-11. Retrieved2025-02-27.
  36. ^Chris, Dias (February 1, 2016)."Introducing the Insiders Build".{{cite web}}: CS1 maint: url-status (link)
  37. ^"Developer Survey Results 2016".Stack Overflow Insights.Stack Exchange.Archived from the original on 18 March 2016. Retrieved7 April 2018.
  38. ^"Developer Survey Results 2018".StackOverflow Insights. Stack Exchange.Archived from the original on 6 March 2020. Retrieved7 April 2018.
  39. ^"Developer Survey Results 2019 - Most Popular Development Environments".Stack Overflow Insights. Stack Exchange.Archived from the original on 7 March 2020. Retrieved10 April 2019.
  40. ^"Stack Overflow Developer Survey 2021 - Integrated Development Environment".Stack Overflow Insights. Stack Exchange.Archived from the original on 13 April 2022. Retrieved11 August 2021.
  41. ^"Stack Overflow Developer Survey 2022 - Integrated development environment".Stack Overflow Insights. Stack Exchange.Archived from the original on 27 June 2022. Retrieved28 June 2022.
  42. ^"Stack Overflow Developer Survey 2023 - Integrated development environment".Stack Overflow Insights. Stack Exchange.Archived from the original on 4 November 2023. Retrieved8 November 2023.
  43. ^"Technology | 2024 Stack Overflow Developer Survey".Stack Overflow Insights. Stack Exchange. Retrieved12 November 2024.
  44. ^"Stack Overflow Developer Survey 2020 - Development Environments and Tools".Stack Overflow Insights. Stack Exchange.Archived from the original on 1 November 2023. Retrieved8 November 2023.
  45. ^"广东省数字政府科技创新发展论坛举办" [Guangdong Province Digital Government Technology Innovation Development Forum Held].People's Government of Guangdong Province (in Chinese (China)). 2023-06-21. Archived fromthe original on 2023-07-21.
  46. ^麒麟软件 (2023-06-26).""粤"上高地|麒麟软件与数字广东携手推动广东数字政府建设".Weixin Public Platform (in Chinese (China)).Archived from the original on 2023-10-24. Retrieved2023-08-30.
  47. ^Sharwood, Simon (August 31, 2023)."Chinese vendor apologizes for claiming Microsoft open source code was its own product".The Register.Archived from the original on September 21, 2023. RetrievedAugust 6, 2024.
  48. ^"Microsoft apologizes for removing VSCode extensions used by millions".BleepingComputer. Retrieved2025-03-18.

External links

[edit]
Microsoft development tools
Development
environments
Visual Studio
Others
Languages
APIs and
frameworks
Native
.NET
Device drivers
Database
SQL Server
SQL services
Other
Source control
Testing and
debugging
Delivery
Open-source
CodeMirror-based
Mozilla Composer-based
Scintilla-based
Web-based
Freeware
Commercial
software
Cross-platform
macOS only
Windows only
Discontinued
Helper tools
Code analysis
Supersets
Transpilers
Concepts
Debuggers
Doc generators
Editors(comparison)
Engines
Frameworks
Relatedtechnologies
Package managers
Module bundlers
Server-side
Unit testing frameworks(list)
People
Retrieved from "https://en.wikipedia.org/w/index.php?title=Visual_Studio_Code&oldid=1281101075"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp