mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 22:37:41 +00:00
61f799f53b
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 |
||
---|---|---|
.. | ||
media | ||
src | ||
.vscodeignore | ||
extension-browser.webpack.config.js | ||
extension.webpack.config.js | ||
icon.png | ||
icon.svg | ||
package.json | ||
package.nls.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
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