Go to file
Robo 5216c04428
chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

Refs https://github.com/microsoft/vscode/issues/212442

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
.configurations Engineering - update winget configuration file (#194107) 2023-09-26 14:15:05 +02:00
.devcontainer Move to Dockerfile (microsoft/vscode-remote-release#8994) 2023-10-04 20:43:28 +02:00
.eslintplugin Clean up some type assertions (#211751) 2024-04-30 18:39:44 -07:00
.github Remove redundant info-needed commands (#212225) 2024-05-08 07:33:37 +02:00
.vscode chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
build chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
cli cli: support refresh token in tunnel user login (#212106) 2024-05-06 18:47:37 +02:00
extensions chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
remote chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
resources Incorrect URL percent decoding (%3 is stripped) when browser is opened remotely (#211930) 2024-05-03 14:43:38 +02:00
scripts Remove canvas renderer 2024-04-26 05:54:23 -07:00
src chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
test chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
.editorconfig
.eslintignore Fixes #208581: ESLint and .vscode/extensions is tricky to configure (#210031) 2024-04-10 12:03:56 +02:00
.eslintrc.json Add eslint rule for disallowing dangerous type assertions (#211669) 2024-04-30 11:27:22 -07:00
.git-blame-ignore-revs Engineering - Rename .git-blame-ignore to .git-blame-ignore-revs (#196816) 2023-10-27 12:34:22 +02:00
.gitattributes Whitelist comments in all JSON files. For #129206 2021-09-20 14:54:26 +02:00
.gitignore adopt building extensions (#207731) 2024-03-15 15:06:28 +01:00
.lsifrc.json Add lsifrc file 2021-07-14 13:38:16 +02:00
.mailmap update .mailmap (#159565) 2022-08-30 16:14:56 +02:00
.mention-bot
.nvmrc chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
.vscode-test.js adopt test-extension for colorize & configuration-editing (#195691) 2023-11-17 20:22:36 +01:00
.yarnrc chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
cglicenses.json Run OSS tool (#210971) 2024-04-23 00:40:44 +02:00
cgmanifest.json chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
CodeQL.yml eng: mark the patch application file as being generated (#194047) 2023-09-26 04:31:01 +01:00
CONTRIBUTING.md Merge branch 'main' into patch-1 2023-12-11 11:12:18 +00:00
gulpfile.js Move actual gulpfile logic to /build/ 2020-12-14 14:24:34 +01:00
LICENSE.txt remove blank line (my best checkin ever) 2020-05-01 14:26:04 -07:00
package.json chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00
product.json debug: bump js-debug for 1.89 (#211294) 2024-04-24 23:26:25 +02:00
README.md Fix supported markdown-lint violations in markdown files (#190750) 2023-08-24 08:37:25 +00:00
SECURITY.md Update SECURITY.md to latest version (#206550) 2024-02-29 19:48:11 +01:00
ThirdPartyNotices.txt Run OSS tool (#210971) 2024-04-23 00:40:44 +02:00
tsfmt.json Add insertSpaceAfterOpeningAndBeforeClosingEmptyBraces to tsfmt 2021-08-30 15:48:55 -07:00
yarn.lock chore: update to electron 29 (#209818) 2024-05-11 01:20:28 +09:00

Visual Studio Code - Open Source ("Code - OSS")

Feature Requests Bugs Gitter

The Repository

This repository ("Code - OSS") is where we (Microsoft) develop the Visual Studio Code product together with the community. Not only do we work on code and issues here, we also publish our roadmap, monthly iteration plans, and our endgame plans. This source code is available to everyone under the standard MIT license.

Visual Studio Code

VS Code in action

Visual Studio Code is a distribution of the Code - OSS repository with Microsoft-specific customizations released under a traditional Microsoft product license.

Visual Studio Code combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. It provides comprehensive code editing, navigation, and understanding support along with lightweight debugging, a rich extensibility model, and lightweight integration with existing tools.

Visual Studio Code is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on Visual Studio Code's website. To get the latest releases every day, install the Insiders build.

Contributing

There are many ways in which you can participate in this project, for example:

If you are interested in fixing issues and contributing directly to the code base, please see the document How to Contribute, which covers the following:

Feedback

See our wiki for a description of each of these channels and information on some other available community-driven channels.

Many of the core components and extensions to VS Code live in their own repositories on GitHub. For example, the node debug adapter and the mono debug adapter repositories are separate from each other. For a complete list, please visit the Related Projects page on our wiki.

Bundled Extensions

VS Code includes a set of built-in extensions located in the extensions folder, including grammars and snippets for many languages. Extensions that provide rich language support (code completion, Go to Definition) for a language have the suffix language-features. For example, the json extension provides coloring for JSON and the json-language-features extension provides rich language support for JSON.

Development Container

This repository includes a Visual Studio Code Dev Containers / GitHub Codespaces development container.

  • For Dev Containers, use the Dev Containers: Clone Repository in Container Volume... command which creates a Docker volume for better disk I/O on macOS and Windows.

    • If you already have VS Code and Docker installed, you can also click here to get started. This will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.
  • For Codespaces, install the GitHub Codespaces extension in VS Code, and use the Codespaces: Create New Codespace command.

Docker / the Codespace should have at least 4 Cores and 6 GB of RAM (8 GB recommended) to run full build. See the development container README for more information.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT license.