Commit Graph

97594 Commits

Author SHA1 Message Date
Joyce Er 482bc7c146 Add experimental Continue Edit Session API command (#152375)
* Implement `vscode.experimental.editSession.continue` API command

* Read `editSessionId` from protocol url query params

Pass it down to `environmentService` for later access

Read it from `environmentService` when attempting to apply edit session

* Pass `editSessionId` to environmentService in web

* Set and clear edit session ID

* Add logging and encode ref in query parameters

* Update test
2022-06-16 19:13:42 -07:00
Logan Ramos 5e26d5f9b3 Stop removing app insights in the meantime (#152413) 2022-06-16 18:59:10 -07:00
Daniel Imms 3f691ae867 Merge pull request #152409 from microsoft/tyriar/133542
Prevent terminals being attached to by multiple windows
2022-06-16 17:28:54 -07:00
Daniel Imms cced28f080 Prevent terminals being attached to by multiple windows
I was no able to reproduce the issue where users were seeing a terminal get reconnected
to from multiple windows. This is a defensive change that does the following:

- When a persistent process is being attached to, check if it is disconnected. If so,
confirm that it is orphaned, continue if so and throw if not.
- Silently recreate a new process with warning logs if an attach fails.

Fixes #133542
2022-06-16 17:18:20 -07:00
Megan Rogge 9467bd00f4 allow for terminal arrow navigation when in accessibility mode (#152255) 2022-06-16 16:17:19 -08:00
Logan Ramos 7025c6e71c Include more of the shims folder in attempt to fix build (#152398) 2022-06-16 23:11:33 +00:00
Andrea Mah f8d0151fe4 Merge pull request #152378 from microsoft/andreamah/issue151772
shortcuts and command to navigate debug consoles #151772
2022-06-16 16:10:46 -07:00
Matt Bierner afe316c08c Add diagnostic manager enablement change tests (#152392)
* Add test for MD diagnostic manager config changes

Add a simple test the enabling/disable diagnostics should make the diagnostic manager recompute diagnostics

* Add `.get`
2022-06-16 15:53:19 -07:00
andreamah fb11d9c69a add Focus word to debug console actions 2022-06-16 15:17:04 -07:00
Alexandru Dima 9740164159 Use UtilityProcess to spawn extension hosts and add a setting (#152344)
Fixes #150825: Use `UtilityProcess` to spawn extension hosts and add a setting
2022-06-17 00:13:30 +02:00
andreamah eab44be0c1 Edited shortcuts and cleanup
for debug console changing
2022-06-16 15:06:14 -07:00
David Dossett 1a2c2b2916 Use full titlebar height for menubar button hit area (Fix #150170) (#151250)
* Use full titlebar height for menubar button hit area (Fix #150170)

* Fix "more" toggle padding

* fix focus outlines

* Fix outline border

* Fix "regular" menu button outline offset

Co-authored-by: SteVen Batten <sbatten@microsoft.com>
2022-06-16 15:00:08 -07:00
Alexandru Dima 0d160ac237 Fix bundling (#152389)
* Ensure stable order in bundled loader.js

* Avoid packaging build version of loader plugins
2022-06-16 21:05:10 +00:00
Babak K. Shandiz c462359652 Add option to always reveal tests after state change (#152331)
* ⚙️ Add `testing.alwaysRevealTestOnStateChange` to config parameters

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🔨 Reveal test (after state change) respecting the always-reveal option

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 📜 Improve description for `testing.alwaysRevealTestOnStateChange`

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-06-16 14:01:30 -07:00
Matt Bierner cb5fa75d11 Clean up markdown diagnostic tests (#152374)
* Clean up markdown diagnostic tests

This splits the diagnostic compute tests from the test for the diagnostic manager

* Mark internal field as private
2022-06-16 22:33:11 +02:00
Alexandru Dima 9db5a3674e Bring the nls loader plugin into our sources (#152338) 2022-06-16 22:01:19 +02:00
Megan Rogge 5d9717967d add shell integration to tasks (#152242) 2022-06-16 12:49:43 -07:00
Matt Bierner 3114ee690b Split out VS Code reference provider from markdown reference provider (#152369)
This change renames the main markdown reference provider class to `MdReferenceComputer` and then uses this to implement a `vscode.ReferenceProvider`

This more cleanly splits the VS Code part of the logic from the general reference calculation stuff other providers consume
2022-06-16 15:47:48 -04:00
andreamah 751c3a72a3 shortcuts and command to navigate debug consoles
#151772
2022-06-16 12:21:45 -07:00
Logan Ramos e8f28ac3ac Refactor location of web app insights appender (#152358)
* Refactor location of web app insights appender

* Play around with eslintrc

* Eslint json update

* Try and fix monaco editor check

* Remove extra trailing comma
2022-06-16 18:26:06 +00:00
Logan Ramos 48809de3f9 Update module ignores to include AI shims required by 1DS (#152367) 2022-06-16 18:18:00 +00:00
Matt Bierner 6c252851f2 Revalidate linked files on header change (#152366)
Fixes #150945

With this change, when the headers in a file change, we should also try to revalidate all files that link to it
2022-06-16 18:14:01 +00:00
Matt Bierner cb18a4870c Don't over-escape text edits (#152350)
Fixes #152272
2022-06-16 11:03:34 -07:00
Raymond Zhao 37b410c337 Refactor Settings indicators to use custom hovers (#152359)
Ref #151787
2022-06-16 10:59:22 -07:00
Daniel Imms 01ccb340a0 Merge pull request #152347 from microsoft/tyriar/line-height
xterm-addon-webgl@0.12.0-beta.39
2022-06-16 10:03:27 -07:00
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
Daniel Imms 427834d3c2 xterm-addon-webgl@0.12.0-beta.39
This is one of those odd cases where the latest (.40) is actually older than the
one before because the merged happened close by.

This brings in the light-height webgl powerline fix xtermjs/xterm.js#3862
2022-06-16 08:31:44 -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