Go to file
Matt Bierner 61f799f53b
Add proposed webview view API (#104601)
Add proposed webview view API

For #46585

This adds a new `WebviewView` proposed api to VS Code that lets webview be used inside views. Webview views can be contributed using a contribution point such as :

```json
    "views": {
      "explorer": [
        {
          "type": "webview",
          "id": "cats.cat",
          "name": "Cats",
          "visibility": "visible"
        }
      ]
    },
```

* Use proper activation event

* Transparent background

* Fix resize observer

* Adding documentation

* Move webview view to new directory under workbench

* Remove resolver

By moving the webviews view into their own fodler, I was able to avoid the cycle the resolver was originally introduced for

* Use enum in more places

* Hook up title and visible properties for webview views

* Remove test view

* Prefer Thenable

* Add unknown view type error to collector
2020-08-20 13:59:22 -07:00
.devcontainer Clarify requirements, fix for smoke tests 2020-07-06 15:52:04 +00:00
.github Bump actions 2020-08-17 15:13:04 -07:00
.vscode web - rename resources/serverless => resources/web 2020-08-18 09:49:53 +02:00
build Use autodesktop 2020-08-19 16:02:30 +02:00
extensions Add proposed webview view API (#104601) 2020-08-20 13:59:22 -07:00
remote chore: update to electron 9-x-y (#102011) 2020-08-11 11:30:23 -07:00
resources 🆙 web playground 2020-08-20 15:19:38 +02:00
scripts Run commosJS integration tests consistently (#104914) 2020-08-18 12:04:38 +02:00
src Add proposed webview view API (#104601) 2020-08-20 13:59:22 -07:00
test Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
.editorconfig
.eslintignore
.eslintrc.json Add missing code-import-patterns for files and directories targeting web. (#102961) 2020-07-21 07:45:44 +02:00
.gitattributes
.gitignore Small tweaks 2020-07-27 08:58:38 +02:00
.mailmap
.mention-bot
.nvmrc
.yarnrc Revert "chore: bump electron@9.2.1" 2020-08-19 01:06:41 -07:00
azure-pipelines.yml
cglicenses.json move tas-client license from manifest to licenses 2020-08-03 11:50:38 -07:00
cgmanifest.json Revert "chore: bump electron@9.2.1" 2020-08-19 01:06:41 -07:00
CONTRIBUTING.md
gulpfile.js
LICENSE.txt
package.json Revert "chore: bump electron@9.2.1" 2020-08-19 01:06:41 -07:00
product.json node-debug@1.44.10 2020-08-19 23:06:31 +02:00
README.md Clarify requirements, fix for smoke tests 2020-07-06 15:52:04 +00:00
ThirdPartyNotices.txt update tpn 2020-08-03 20:51:40 +02:00
tsfmt.json
yarn.lock Revert "chore: bump electron@9.2.1" 2020-08-19 01:06:41 -07:00

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

Build Status Feature Requests Bugs Gitter

The Repository

This repository ("Code - OSS") is where we (Microsoft) develop the Visual Studio Code product. 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 the 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

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 have their own repositories. 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 provides rich language support for JSON.

Development Container

This repository includes a Visual Studio Code Remote - Containers / Codespaces development container.

  • For Remote - Containers, use the Remote-Containers: Open Repository in Container... command which creates a Docker volume for better disk I/O on macOS and Windows.
  • For Codespaces, install the Visual Studio 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.