Commit Graph

90679 Commits

Author SHA1 Message Date
Johannes Rieken
3d13b9aeb4 expose CancellationToken on onWill-file events 2021-12-07 11:27:33 +01:00
Martin Aeschlimann
c669cd268c Merge pull request #138277 from microsoft/aeschli/openRecentWithMatchingAuthority
store remoteAuthority in backup or history
2021-12-07 11:23:15 +01:00
Henning Dieterichs
b2de74cb1f Implements dynamic dependency check (to address #138348). 2021-12-07 11:22:32 +01:00
Henning Dieterichs
707f6700d5 Merge pull request #138348 from microsoft/hediet/remove-deps
Removes unused field ComputedEditorOption.deps
2021-12-07 11:12:47 +01:00
Benjamin Pasero
f8d37f3756 backups - avoid timeout in test 2021-12-07 11:01:18 +01:00
Benjamin Pasero
6b8ae54620 backups - fix tests 2021-12-07 10:35:39 +01:00
Johannes Rieken
5c31535ea8 add more API rpc tests, https://github.com/microsoft/vscode/issues/115679 2021-12-07 09:22:48 +01:00
Benjamin Pasero
5f63d720d5 backups - suspend/resume onWillShutdown 2021-12-07 08:39:12 +01:00
Johannes Rieken
470cee7f66 update API notebook milestone 2021-12-07 07:56:25 +01:00
Benjamin Pasero
db4fbd3666 editors 💄 2021-12-07 07:48:58 +01:00
Daniel Imms
97365851e5 Merge pull request #138561 from microsoft/tyriar/138508
Strip relative path prefixes when checking for validated links
2021-12-06 19:17:21 -08:00
Matt Bierner
d07ee60829 Update markdown grammar 2021-12-06 18:13:39 -08:00
Jonathan Carter
1921071835 Added theme image support to the markdown preview (#137820) 2021-12-06 18:06:02 -08:00
Daniel Rosenwasser
4fb22d76cf "Surround with" in TS/JS snippets (#138565)
* Preserve selected text in snippets to provide "surround-with"-like functionality.

* Add the same "surround with"-like functionality to JS snippets.
2021-12-06 18:01:09 -08:00
Matt Bierner
974442023a Better name for method 2021-12-06 16:38:47 -08:00
Tyler Leonhardt
0c2038d32d Fixes #138247 2021-12-06 16:30:43 -08:00
Matt Bierner
925807b77d Fix find on web not handling next properly
Fix #138275

Introduced by bbc10afeda

The root problem bbc10afeda fixed is that `window.find` starts after the current selection. If your document consists of `abc abcd` for example, the following happens:

1. Type `a` in the find box
1. The first `a` is correctly highlighted
1. Type `b` to refine the search
1. The search no longer sees the first `a`, so we skip ahead to the second `a`, which is unexpected

To fix this, I added code to collapse the selection before continuing the search. However we were also collapsing the selection when you hit the next button, which just resulted in the same word being re-selected again instead of skipping ahead to the next word.

This fix avoids collapsing the selection when you are simply pressing next
2021-12-06 16:28:24 -08:00
Matt Bierner
e88394000f Fix markdown outline for cases without a space after #
Fixes #138027
2021-12-06 15:58:11 -08:00
Daniel Imms
a432d39da5 Strip relative path prefixes when checking for validated links
A relative path prefix on a link is a strong signal that it's a complete file name,
so use that to check for an exact relative to the workspace directory.

Fixes #138508
2021-12-06 15:31:28 -08:00
Daniel Imms
8bf3e4f34e Only restore terminal process name if source was api
Fixes #138509
2021-12-06 14:55:10 -08:00
Daniel Imms
9fca35e388 Pass locale to exthost for process revive date format
Fixes #136855
2021-12-06 14:39:44 -08:00
Raymond Zhao
e40596a16c Skip flaky updateImageSize suite
Ref #138499
2021-12-06 12:47:38 -08:00
Joyce Er
efd055b8ba Refresh markdown preview on all file changes (#138301)
* Refresh markdown preview on all file changes

* Don't watch `https`, `http`, and `data` uris
2021-12-06 12:36:22 -08:00
Megan Rogge
08fe3f2247 finalize terminal location API (#138530) 2021-12-06 12:03:15 -08:00
Rob Lourens
715754bc20 Remove 10k limit on copying text search results
Fix #138431
2021-12-06 12:02:43 -08:00
Rob Lourens
2fd934ec24 Use markdownDescription 2021-12-06 12:02:41 -08:00
Megan Rogge
33e67129bc fix #138359 (#138532) 2021-12-06 12:00:34 -08:00
Benjamin Pasero
13c0ed811e 🆙 playwright & set trace names (#138539) 2021-12-06 19:42:05 +01:00
Megan Rogge
32c2b3d4ff fix #138224 (#138538) 2021-12-06 10:40:14 -08:00
Johannes Rieken
59e6984ec4 fix https://github.com/microsoft/vscode/issues/138284 2021-12-06 19:31:18 +01:00
Alex Dima
7663e88b07 Fix treeshaking problems 2021-12-06 19:18:30 +01:00
Alex Dima
726f1252b1 Small improvements to types 2021-12-06 19:18:30 +01:00
Logan Ramos
18252333b6 Introduce onDidModelChange to the group (#137388)
* Add aggregate model event

* Switch to aggregate model events

* Use GroupChangeKind instead

* Switch to using GroupChange event

* Introduce an onDidModelChange

* Move group change to belong to the model

* Address comments

* editors - for now keep `GroupChangeKind' accessible via groups service

* one more

* avoid IEditorCloseEvent

* further avoid types

* simplify events

* clean up events

* fix reexport issue

* Address PR feedback

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2021-12-06 13:02:51 -05:00
Matt Bierner
cb1a286fd7 Use a unique authority for desktop webview too
Fixes #138409

This fix changes webviews on desktop to always use a unique authority instead of reusing the id passed in. In practice, this change should only effect internal webviews, such as those on extension pages or in getting started, since those were the only webviews that were using a hardcoded id

This aligns webviews on desktop with web.
2021-12-06 09:09:37 -08:00
Alex Dima
2fc1dac229 ICodeEditor.getContribution can return null 2021-12-06 17:57:09 +01:00
Alex Dima
2f898c4c98 Fixes #138157: Remove option _enableBuiltinExtensions 2021-12-06 17:57:08 +01:00
Megan Rogge
b03cce63f0 when view visibility changes, don't assume the panel should be focused (#138419) 2021-12-06 08:03:29 -08:00
Megan Rogge
e5c76ddbbd set shellType when it changes, fix #138388 (#138418) 2021-12-06 08:02:32 -08:00
Martin Aeschlimann
95a9378519 [json] add 'Clear schema cache' command. Fixes #138524 2021-12-06 16:56:17 +01:00
Johannes Rieken
1d4b413018 Merge pull request #137626 from dnicolson/add-singular-form-to-bispect-message
Add singular form of bisect message
2021-12-06 16:33:18 +01:00
Johannes Rieken
d3815b7112 wrap web worker inside iframe when running in desktop 2021-12-06 16:05:08 +01:00
Martin Aeschlimann
c515bf8c5e make sure theme is loaded when restoring it. Fixes #138422 2021-12-06 15:00:15 +01:00
Benjamin Pasero
2085b19a51 smoke - allow 30s max for deleting test path (#137725) 2021-12-06 14:09:02 +01:00
Johannes Rieken
4498f73ed7 fix https://github.com/microsoft/vscode/issues/138502 2021-12-06 13:56:11 +01:00
Benjamin Pasero
e8e0fb874d smoke - disable test that is flaky still 2021-12-06 13:44:01 +01:00
Sandeep Somavarapu
d52b2618a4 Merge pull request #138504 from microsoft/sandy081/ix138503
revert changes to User agent header
2021-12-06 12:55:32 +01:00
Johannes Rieken
22f7085a32 don't trigger suggest when composing characters, fixes https://github.com/microsoft/vscode/issues/132939 and fixes https://github.com/microsoft/vscode/issues/83428 2021-12-06 12:29:51 +01:00
Sandeep Somavarapu
61291e5145 revert changes to User agent header 2021-12-06 12:25:15 +01:00
Sandeep Somavarapu
72d8d114ab revert changes to User agent header 2021-12-06 12:20:11 +01:00
Benjamin Pasero
11d343aef8 storage - add whenInit property to join init phase 2021-12-06 11:19:30 +01:00