Commit graph

82527 commits

Author SHA1 Message Date
Daniel Imms
1718a6e2ac Hide hover on target element(s) click
Fixes #124253
2021-05-20 06:13:22 -07:00
Daniel Imms
224b0f2292 Fix category and max-memory option args
Fixes #124255
2021-05-20 06:06:15 -07:00
Alex Dima
5ae8db2ae0
Render the suggest widget above when rendering a multi-line preview 2021-05-20 14:40:14 +02:00
Alex Dima
8c194abb5e
Do not shrink the additional lines once a shorter suggestion is displayed 2021-05-20 14:22:28 +02:00
Benjamin Pasero
da4fcc266f
file working copy - avoid ugly casts 2021-05-20 14:15:31 +02:00
Daniel Imms
aea7c1a334
Merge pull request #124196 from microsoft/tyriar/dnd_2
Implement terminal drag and drop
2021-05-20 05:15:22 -07:00
Daniel Imms
e538fd90c0 Hover hover when context menu is shown
Fixes #124185
2021-05-20 05:07:31 -07:00
Alex Dima
4a679df531
Hide ghosted text when it wants to be displayed in the middle of a line 2021-05-20 13:57:43 +02:00
Daniel Imms
e91d5475ac Merge remote-tracking branch 'origin/main' into tyriar/dnd_2 2021-05-20 04:56:52 -07:00
Alex Dima
c6d2254b2f
Create a InlineSuggestionsSession also when showing suggestions 2021-05-20 13:55:55 +02:00
Alex Dima
b5a9a02606
Invalidate current suggestion based on cursor position 2021-05-20 13:30:01 +02:00
Alex Dima
49339aba51
Only start a session after a content change (with debouncing) 2021-05-20 13:11:27 +02:00
Alex Dima
fdbcef0a84
Add editor.suggest.showSuggestionPreview to turn on/off inline suggestions 2021-05-20 12:16:24 +02:00
Andre Weinand
c8410ece14
node-debug@1.44.28 2021-05-20 12:15:07 +02:00
Ladislau Szomoru
234136b6c2
💄 acceptsNonWorkspaceFiles -> acceptsOutOfWorkspaceFiles 2021-05-20 11:54:18 +02:00
isidor
91bf932633
fixes #123469 2021-05-20 11:53:27 +02:00
Alex Dima
2cc3b168fd
Do not force the instantiation of the SuggestWidget 2021-05-20 11:51:38 +02:00
Ladislau Szomoru
1543754dca
Tweak loose file dialog warning 2021-05-20 11:45:09 +02:00
Benjamin Pasero
669b0b3f71
working copy manager - clean up some types add some new APIs on manager2 for unified access:
- get(resource): working copy
- workingCopies: workingcopy[]
- onDidCreate: Event<working copy>

//cc @jrieken
2021-05-20 10:56:18 +02:00
Martin Aeschlimann
3234403c5d
Merge pull request #124191 from microsoft/aeschli/virtualWorkspacesInExtensionView
show extensions limited due to virtual workspace
2021-05-20 09:51:48 +02:00
Alex Dima
19574448d0
Fix rendering snippets 2021-05-20 09:50:01 +02:00
Henning Dieterichs
5f7cfa3a54
Introduces a GhostTextWidget model to enable data binding. 2021-05-20 09:13:54 +02:00
Ladislau Szomoru
a6f89f58a9
Workspace trust - empty workspace (#123811)
Co-authored-by: Logan Ramos <lramos15@gmail.com>
2021-05-20 08:34:18 +02:00
Rob Lourens
0c996a39b6 Implement consolidated output toolbar 2021-05-19 21:31:06 -07:00
rebornix
f583b4b336
Merge branch 'main' into notebook/dev 2021-05-19 19:02:13 -07:00
Matt Bierner
29c61570a5
Revert "Closes #122433"
This reverts commit 134d9b187b.
2021-05-19 18:57:47 -07:00
Matt Bierner
34180ac9be
Remove code allowing multiple ids for a command
This doesn't appear to be used anywhere
2021-05-19 18:23:51 -07:00
Matt Bierner
35eafb7873
Add sort imports command
Fixes #122593

Sort imports just sorts imports, vs organize imports which also removes unused imports
2021-05-19 18:20:16 -07:00
Matt Bierner
e65a227c82
Test using readonly[] syntax in vscode.d.ts 2021-05-19 17:55:22 -07:00
Matt Bierner
1ddc623e58
Simplify logic for webview resource uris (#123740)
* Simplify logic for webview resource uris

This change attempts to simplify the logic around webview resource uris by doing the following:

- Hard code the resource origin. We always will be hitting a service worker for these paths so they don't need to be dynamic (although in the future we may want to pull them from `product.json`)

    This lets us remove these properties from the environment service

- Move remote handling from the resource loader in `asWebviewUri`.

- Remove the handling of http and https paths from the resource loader.

    I don't think these cases can be hit any longer (although I need to confirm this with more testing for the web case). Instead I added a check to `asWebviewUri` so that we return the original uri if a http(s) uri is passed in

* Restore normalizeResourcePath

We still need to convert between a remote uri and one that our remote file system can read

* Fix test

* Restore passing in remote on extension side

* Remove only
2021-05-19 17:26:51 -07:00
Matt Bierner
93be0a6fa0
Update simple service
Missed adding this in the previous commit
2021-05-19 17:14:41 -07:00
Connor Peet
46a1ca7824
notebook: initial renderer communication 2021-05-19 17:08:13 -07:00
Matt Bierner
1ecba0426a
Make reload webviews support webview-views
Fixes #124212

This also makes the command run against non-visible webviews
2021-05-19 17:01:23 -07:00
Matt Bierner
b3ed595dde
Extract isRequestFromSafeContext 2021-05-19 16:49:14 -07:00
Matt Bierner
39d1a94e86
Allow loading svgs from xhr
Fixes #124124

In a webview, if a svg is loaded from localhost, it is intercepted by the service worker. When this happens in non-remote cases, we end up using `fetch` to hit the network. This causes the `.frame` property on the request `details` to become `undefined`, which causes us to block the request because we don't know it comes from a webview

The fix is to allow svgs to be loaded if they are from xhr requests
2021-05-19 16:46:26 -07:00
Andrea Mah
4fbd548d72 Merge branch 'main' into dev/t-andreamah/markdown-static-preview-scroll-state 2021-05-19 17:25:56 -06:00
rebornix
40592a274c
fix test suite. 2021-05-19 16:13:40 -07:00
SteVen Batten
4fcc272082 use custom shield dialog #wt 2021-05-19 16:01:26 -07:00
Matt Bierner
a65d55e9c4
Strict null fixes in webview 2021-05-19 16:01:20 -07:00
Matt Bierner
f822083cb7
Check defaultPrevented before showing built-in webview context menu
Fixes #123301
2021-05-19 16:01:19 -07:00
Andrea Mah
f594bb47e5 removing more unecessary whitespace 2021-05-19 17:00:55 -06:00
Andrea Mah
41606da2dc removing unecessary spaces 2021-05-19 16:59:26 -06:00
SteVen Batten
920c9a3a0d improve banner for virtual workspace 2021-05-19 15:57:59 -07:00
Andrea Mah
9ee1906718 pr feedback and combining prevEditor info for preview and non-preview 2021-05-19 16:57:12 -06:00
Matt Bierner
f433b4781a
Pick up TS 4.3.1-rc 2021-05-19 15:47:35 -07:00
Matt Bierner
d921cc41fc
Update markdown grammar 2021-05-19 15:34:07 -07:00
Rob Lourens
1642d4cd0a Merge groupBy and groupByNumber utils
Fix #123569
2021-05-19 14:29:32 -07:00
Rob Lourens
c1d6e44262 Avoid listener leak warning due to reusing cancel token for many RPC calls 2021-05-19 14:29:32 -07:00
Rob Lourens
0d33806803 Add suiteRepeat test util 2021-05-19 14:29:32 -07:00
rebornix
5b3cf7cc2a
Merge branch 'notebook/dev' into main 2021-05-19 14:12:17 -07:00