Commit Graph

5 Commits

Author SHA1 Message Date
Kyle Cutler
4e9b0b7fc3 Support additional actions in integrated browser (#287653)
* Add setting to redirect simple browser

* Open in external browser

* Open settings

* Move to new window

* clean

* Add element shortcut

* Menu item updates

* PR feedback
2026-01-14 12:43:16 -08:00
Matt Bierner
e5c4f426fe Fix setting decription and remove unused setting 2021-01-26 16:03:36 -08:00
Matt Bierner
cc5e8b22fa Continue work on url opener api
For #109277

- Add `option` opener priority. This means the oper will only be shown if requested but will not replace the default opener
- Persist registered openers for IntelliSense suggestions
2021-01-14 17:06:14 -08:00
Matt Bierner
2fed7ba374 Adding settings to control which schemes simple browser is enabled for
Also adds a setting to enable/disable the focus lock indicator
2021-01-06 12:17:36 -08:00
Matt Bierner
3ed300eb9d Add simple browser extension (#109276)
* Add support for TS's Hierarchical refactorings API

https://github.com/microsoft/TypeScript/pull/41975

* Add simple browser extension

This change adds a new 'simple browser' extension. This extension uses a webview to render webpages directly in VS Code. We plan on using it for optionally previewing local servers in both desktop and codespaces

The browser itself has a number of limitations due to the security around iframes:

- It traps keyboard focus
- We can't detect if a page fails to load
- We can't track the current url of the iframe

* Add experimental alert when the iframe is focused

* Disable events on focus warning

* Hooking up simple browser to opener
2021-01-04 19:06:53 -08:00