vscode/extensions/image-preview
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
..
media Add some extra guards around image loading 2020-05-27 19:56:02 -07:00
src Add proposed webview view API (#104601) 2020-08-20 13:59:22 -07:00
.vscodeignore Do not ship unnecessary files with extensions 2020-07-24 13:57:51 +02:00
extension-browser.webpack.config.js used shared webpack-config for browser 2020-06-25 23:22:02 +02:00
extension.webpack.config.js Prototyping custom editors (#77789) 2019-09-10 17:56:57 -07:00
icon.png Add icon for image preview ext 2019-09-16 16:02:56 -07:00
icon.svg Add icon for image preview ext 2019-09-16 16:02:56 -07:00
package.json Add "web" as extensionKind to extensions which support this 2020-07-24 10:41:03 +02:00
package.nls.json Rename custom editor contribution point 2020-02-25 10:55:41 -08:00
README.md Remove tga from documented supported image format list 2019-12-04 15:37:49 -08:00
tsconfig.json Prototyping custom editors (#77789) 2019-09-10 17:56:57 -07:00
yarn.lock Prototyping custom editors (#77789) 2019-09-10 17:56:57 -07:00

Image Preview

Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.

Features

This extension provides VS Code's built-in image preview functionality.

Supported image formats:

  • *.jpg, *.jpe, *.jpeg
  • *.png
  • *.bmp
  • *.gif
  • *.ico
  • *.webp