Commit graph

97568 commits

Author SHA1 Message Date
Daniel Imms 09d0431d20
Merge pull request #152278 from microsoft/tyriar/150478_4
Enable shell integration smoke tests (Linux/macOS) and terminal smoke tests on desktop
2022-06-16 10:03:14 -07:00
Logan Ramos f4ca89503e
Fix #151817 (#152356) 2022-06-16 09:38:08 -07:00
Alexandru Dima 5a43663aed
Avoid downloading builtin extensions (#152339) 2022-06-16 17:15:49 +02:00
Alex Ross 8fa5722aad
Add openTunnel embedder API (#152336) 2022-06-16 17:02:50 +02:00
Sandeep Somavarapu 44713a6ce2
Surface profile actions (#152332)
Surface profile actions in
- settings gear
- accounts
- preferences
2022-06-16 17:02:13 +02:00
Alexandru Dima 0547fdbe65
Avoid installing playwright (#152335) 2022-06-16 14:42:28 +00:00
Robo 49ef85f3a5
fix: spawn calls from utility extension host (#152319) 2022-06-16 16:34:09 +02:00
Leonardo Montini 3fec83b84a
Add command to toggle between light/dark color themes (#151554)
* Added quick input action to toggle between preferred color themes

* Removed quickpick in favor of command to toggle between ligh/dark and high-contrast counterparts

* Moved toggle logic to themes.contribution

* togglePreferredTheme -> toggleLightDarkThemes

Co-authored-by: Leonardo Montini <leonardo.montini@lab.flowing.it>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-06-16 16:29:55 +02:00
Alexandru Dima 96e2f8cca5
Dispose the management connection when the extension host exits after running tests or after a development session to avoid reconnection attempts (#152334)
Dispose the management connection when the extension host exits after running tests or after a development session to avoid reconnection attempts (#147755)
2022-06-16 14:29:36 +00:00
Ladislau Szomoru 88731bf6d6
Git - enable using the editor as the git commit input (#152158) 2022-06-16 16:27:35 +02:00
Ladislau Szomoru 46d9d7acda
Git - branch protection (#152218)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-06-16 16:25:03 +02:00
Isidor Nikolic c3424ba3f6
Merge pull request #152251 from alanrenmsft/alanren/aria-desc
add aria-description support for selectbox
2022-06-16 15:37:23 +02:00
Matt Bierner 395380a6b7
Remove getOrDefault (#152258)
We can safely use `??` for this instead
2022-06-16 06:31:13 -07:00
Rob Lourens a3fe558d29
Improve screenreader alert when pausing (#152293)
Fixes #151664
2022-06-16 15:29:29 +02:00
Alexandru Dima 3530e85ba8
Properly return a non 0 exit code in case a test times out and fix tests which used to time out (#152329) 2022-06-16 13:02:37 +00:00
John Murray 192f8bf12b
Keep Editors Open -> Disable Preview Mode (fixes #152240) (#152322)
* `Keep Editors Open` -> `Disable Preview Mode` (fixes #152240)

* Change localize key to ensure new translation
2022-06-16 12:28:36 +00:00
Henning Dieterichs bf787b032a
Merge pull request #152254 from microsoft/3wm 2022-06-16 12:16:22 +02:00
Sandeep Somavarapu 6f7c824a82
adopt to application scope (#152286) 2022-06-16 06:37:22 +02:00
Daniel Imms 463a1e5765
Run shell integration tests a single time and revert timeout 2022-06-15 21:01:26 -07:00
Matt Bierner 8559324b09
Use more optional chaining in TS extension (#152271)
Use optional chaining in TS extension

Also removes `prefer-const` since this is now enabled globally
2022-06-16 05:33:58 +02:00
Daniel Imms d4e06aaa2b
Disable windows shell integration tests only 2022-06-15 20:29:32 -07:00
Daniel Imms b77fecfa10
Increase darwin timeout temporarily 2022-06-15 20:25:34 -07:00
Matt Bierner 4fc5d76213
Fix ranges and validation setting for MD own path + header links (#152270)
* Fix ranges and validation setting for MD own path + header links

Previously for a `file.md`, links to headers in that file that use paths, such as `[link](./file.md#some-header)` were validated using `markdown.experimental.validate.fragmentLinks.enabled`

This is confusing as that setting was only meant to be used for links such as`[link](#some-header`). It also resulted in the diagnostic having the incorrect range

This change instead makes these links be validated by `markdown.experimental.validate.fileLinks.markdownFragmentLinks`

* Fix compile
2022-06-15 20:02:41 -07:00
Daniel Imms 1b0d0d00d4
Enable terminal tests on desktop 2022-06-15 19:22:40 -07:00
Daniel Imms 87a99dba09
Speed up shell integration tests and improve reliability 2022-06-15 18:50:34 -07:00
Megan Rogge 16c2a3ab3b
revert quickpick changes, get to work for build task, and address fee… (#152106) 2022-06-15 17:59:20 -07:00
Matt Bierner d466785b7c
Allow requestUsbDevice to take filters and return device data (#152257) 2022-06-15 15:56:32 -07:00
Matt Bierner a765abcf07
Adopt ResourceMap for MD diagnostics (#152264)
Adopt ResourceMap

Switches to use `ResourceMap` instead of our own implementation
2022-06-15 15:43:09 -07:00
Matt Bierner a289e64e09
Switch to finalized TS protocol types (#152259) 2022-06-15 15:37:21 -07:00
Matt Bierner 8fb977f2c1
Make jsx: react the default for implicit js/ts projects (#152256)
Make jsx: react the default

Fixes #152150

This fixes imports of `react` getting removed with TS 4.7 in implicit projects
2022-06-15 21:41:52 +00:00
Robo 88c01e4825
chore: bump electron@18.3.3 (#152236) 2022-06-15 14:32:57 -07:00
Henning Dieterichs 37e70da6d0
Implememts intra-line diffing & merging. 2022-06-15 23:20:29 +02:00
Alan Ren 49b05c51f8 type check 2022-06-15 14:14:46 -07:00
Alan Ren d19ac496df add aria-description support for selectbox 2022-06-15 13:50:26 -07:00
Daniel Imms 18408b9090
Allow tests to run multiple times 2022-06-15 12:35:53 -07:00
Daniel Imms 7548fed110
after -> afterEach 2022-06-15 11:30:24 -07:00
Daniel Imms e4c3bca7a2
Kill all terminals after each shell integration test 2022-06-15 11:28:46 -07:00
Raymond Zhao 1c2afc392d
Simplify setting indicators (#152091)
Ref #151787
2022-06-15 11:25:39 -07:00
Benjamin Pasero 5f696f9955
fix smoke tests on linux (#152232) 2022-06-15 11:07:42 -07:00
Matt Bierner 13a80e03e2
Last pass using ?.() for method call (#152231)
Follow up on f17b33faf2

This handles sightly more complex cases, changing:

```ts
if (a) {
    a.b.c();
}
```

to:

```ts
a?.b.c();
```
2022-06-15 17:49:36 +00:00
Sandeep Somavarapu 38bdf5ab7d
adopt to application storage (#152224) 2022-06-15 13:40:59 -04:00
Matt Bierner 57037a7228
Fix <a> without href stripping html (#152230)
Fixes #152170
2022-06-15 13:40:30 -04:00
Matt Bierner 98ad4c15b5
Switch to std library Object functions (#152128)
- `fromMap` -> `Object.fromEntries`

- `values` -> `Object.values`
2022-06-15 16:34:32 +00:00
Matt Bierner 001d52cf6b
Add Symbol.iterator functions for vscode.d.ts collection types (#151806)
* Add entries functions for vscode.d.ts collection types

Fixes #151802

* Spelling

* Enable lib.iterable in vscode.d.ts

* Switch to use `Symbol.iterator` instead of `entries`

* Use extends Iterable in more places

* Fixing testItemCollection types

* Fixing exthost testing
2022-06-15 16:29:50 +00:00
Matt Bierner f17b33faf2
Use .?method() in more places (#152112)
Switches simple patterns like:

```ts
if (some.thing) {
    some.thing.method();
}
```

to:

```ts
some.thing?.method()
```

This is more concise and avoids having to repeat the `some.thing` part
2022-06-15 16:28:31 +00:00
Daniel Imms 6d379ac730
Merge pull request #152202 from microsoft/tyriar/151159
Setup local and remote pty host output channels
2022-06-15 09:04:47 -07:00
Daniel Imms 14d6d816b5
Merge pull request #152190 from microsoft/tyriar/152076
Localize 'Executing task' messages
2022-06-15 09:04:32 -07:00
Johannes Rieken dfc37187b0
rename ref-viewlet's publisher back to vscode (#152213) 2022-06-15 08:58:11 -07:00
Matt Bierner 9cd97eea68
Deprecate collections.forEach (#152132)
This marks `collections.forEach` as deprecated. We should use `Object.entries` instead

I've also removed the `remove` functionality since no callers were using it and updated the implementation to use `Object.entries`
2022-06-15 08:16:02 -07:00
Alex Ross 4e0f15a47b
Use dispose utility in commenting feature area (#152210) 2022-06-15 15:06:16 +00:00