Commit Graph

10057 Commits

Author SHA1 Message Date
Jackson Kearl
cef7004a46 activate search result extension onLanguage:search-result #110031 2021-01-11 11:22:17 -08:00
Rachel Macfarlane
c85297669e Move id, label, and options to authentication provider registration 2021-01-11 10:53:17 -08:00
Alexandru Dima
3d500ebd8b Adopt proposed CancellationError (#93686) 2021-01-11 17:31:22 +01:00
Martin Aeschlimann
60bc00ff63 webpack config typing fix 2021-01-11 09:57:11 +01:00
Benjamin Pasero
6bd7b70515 Revert "Enable webview tests (#114059)"
This reverts commit 01c6003c29.
2021-01-09 11:23:34 +01:00
Matt Bierner
01c6003c29 Enable webview tests (#114059)
These tests were disable due to some occasional failures on build machines. This PR enables them but with flakySuite while I track down possible causes of these failures
2021-01-08 15:57:28 -08:00
Eric Amodio
6828ae1ab5 Removes trim & fixes regex 2021-01-08 11:52:50 -05:00
Alex Ross
bebd066407 Fix gulp task provider so that it doesn't always try to run 2021-01-08 16:04:47 +01:00
Matt Bierner
0949d5b794 Remove unused var 2021-01-07 17:52:06 -08:00
Matt Bierner
acda4aed82 Make the external opener a two phase process
This changes makes a few changes to the openers:

- Move the opener prompting from the extension host into the main thread
- Make the external opener process two phases: get openers and then open. This would let us skip the trusted domain validation for extension handled links if we want to in the future
- Add lifecycle to commands used by the uri opener

For #109277
2021-01-07 17:42:12 -08:00
Raymond Zhao
d36b3616e7 Change Emmet to onStartupFinished #110031 2021-01-07 13:22:10 -08:00
Matt Bierner
e2c305f3a3 Allow registering additional external uri openers
This change moves the extension uri opener contribution point to instead use the internal `IExternalOpener` api instead of the more generic `IOpener` api. This is required since external uri openers should see the resolved uri that has gone through port forwarding, not the raw uri that the user clicked on
2021-01-07 11:41:07 -08:00
Matt Bierner
bdf57b45ce Remove button background in simple browser 2021-01-07 11:41:07 -08:00
Johannes Rieken
74bc1d2672 re-enable test for https://github.com/microsoft/vscode/issues/111867 2021-01-07 09:18:51 +01:00
Connor Peet
01089c0a50 testing: fix unit tests 2021-01-06 15:35:20 -08:00
Connor Peet
e2c9137841 testing: fix unit tests 2021-01-06 15:32:50 -08:00
Connor Peet
5909115757 testing: code lens and diagnostic information for tests 2021-01-06 15:22:49 -08:00
Eric Amodio
f1151f84ff Adds userAgent to clone, pull, fetch - #111909
Changes to use env
2021-01-06 17:50:42 -05:00
Matt Bierner
809d2f63d0 Added show options to simple browser open command 2021-01-06 12:17:36 -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
Martin Aeschlimann
c49ef6df61 [html] update auto-rename-tag to linkedEditing migration 2021-01-06 15:49:06 +01:00
Thomas Schmid
1228854b4a Adds support for gulpfiles using ESM. (#113505) 2021-01-06 15:36:42 +01:00
Johannes Rieken
0cb7dad36f adopt creation of N resources at once, https://github.com/microsoft/vscode/issues/111867 2021-01-06 14:46:32 +01:00
Johannes Rieken
b99e9bc299 apply file edits in bulks of equal edits, https://github.com/microsoft/vscode/issues/111867 2021-01-06 14:46:32 +01:00
Eric Amodio
9b6aaf1e86 Fixes #112481 - missing refs (because of trim) 2021-01-05 23:19:41 -05:00
Raymond Zhao
dc5a3da3ab Upgrade to latest Emmet (#113848) 2021-01-05 15:14:33 -08:00
Martin Aeschlimann
cfc8c5d3d7 extension webpack: do not copy .ts files as resources 2021-01-05 22:37:28 +01:00
Matt Bierner
52bdc14cc6 Copy of translated errors for js/ts web build 2021-01-05 12:57:26 -08:00
Martin Aeschlimann
485c5fc009 Revert "extension webpack: do not copy .ts files as resources"
This reverts commit ab1aeb6b73.
2021-01-05 21:10:37 +01:00
Rachel Macfarlane
ced3bb4bb9 Secrets API feedback 2021-01-05 10:17:05 -08:00
Martin Aeschlimann
ab1aeb6b73 extension webpack: do not copy .ts files as resources 2021-01-05 17:24:22 +01:00
Martin Aeschlimann
0a3e23a5b2 new html settings not it in the settings UI 2021-01-05 17:24:22 +01:00
Rachel Macfarlane
998e5e2ea6 onDidChangePassword -> onDidChange in secrets API 2021-01-04 22:20:07 -08:00
joan xie
1bb2ae0e36 Allow ResourceCommandResolver.getRightResource() to return undefined (#113364) 2021-01-05 01:05:23 -05:00
Rachel Macfarlane
7db413d4c1 Move secrets API to extension context 2021-01-04 22:04:40 -08:00
Matt Bierner
a48ef56fbf Fix compile for current TS version 2021-01-04 19:25:10 -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
Matt Bierner
69dfa670ef Fix compile error if using older ts version 2021-01-04 17:55:19 -08:00
Matt Bierner
942c3bad6b Sort contribitions 2021-01-04 16:57:38 -08:00
Matt Bierner
b565c422aa Add find all references command for JS/TS
Fixes #66150
2021-01-04 16:57:24 -08:00
Matt Bierner
48742bd3a1 Update ts grammar pinning tests 2021-01-04 12:53:04 -08:00
Matt Bierner
74623bc93c Update JS/TS grammars 2021-01-04 12:09:36 -08:00
Alexandru Dima
7242082983 Fixes #112834: Ensure the markdown link provider is registered before invoking vscode.executeLinkProvider 2020-12-30 21:50:10 +01:00
Raymond Zhao
56c808a66a Emmet flatten DocumentStreamReader (#113602) 2020-12-30 11:00:21 -08:00
Raymond Zhao
b84858babe Emmet remove dependency on vscode-html-languageservice (#113599) 2020-12-30 10:14:23 -08:00
Alex Ross
92d4b14e29 Update rust grammar 2020-12-30 13:06:19 +01:00
Raymond Zhao
15561c4139 Emmet polish 2020-12-29 16:33:41 -08:00
Raymond Zhao
15ba9aee0e Emmet improve Expand Abbreviation perf (#113558) 2020-12-29 16:15:55 -08:00
Raymond Zhao
b5cd082cd4 Emmet refactor toggle comment (#113557) 2020-12-29 15:02:55 -08:00
Raymond Zhao
433833fbe0 Emmet refactor reflect CSS and update image commands (#113550) 2020-12-29 12:44:12 -08:00