Commit Graph

12 Commits

Author SHA1 Message Date
Matt Bierner
ba7d28d53c Use shared webpack version instead of installing locally for simple-browser 2021-02-09 17:47:32 -08:00
Matt Bierner
ff03697a1a Use node script instead of 'cp' command
this should also work on widnows
2021-02-08 14:54:37 -08:00
Matt Bierner
46e28e3bbe Copy codicon files directly into sources instead of taking a non dev dependecy on the entire package 2021-02-08 14:27:16 -08:00
Matt Bierner
5b32b28037 Mark simple browser as a UI extension 2021-02-08 14:27:16 -08:00
João Moreno
8bf9b56ade Merge branch 'joao/extensions' 2021-02-02 12:06:01 +01:00
Matt Bierner
d9ff550d02 Add intellisense for onOpenExternalUri activation and rename event
Fixes #115131

Also renames the activation event to `onOpenExternalUri`
2021-02-01 19:57:54 -08:00
João Moreno
ec805db5ed add repository field to extensions package.json 2021-01-29 15:30:45 +01: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
710846866f Activate extension on simpleBrowser.api.open 2021-01-13 16:56:39 -08:00
Matt Bierner
e7aa009ac3 Remove enabledHosts setting
This setting is no longer used
2021-01-13 12:53:18 -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