Commit graph

97825 commits

Author SHA1 Message Date
Sandeep Somavarapu b81bbef2ab
move IUserDataProfileService to workbench (#152427) 2022-06-17 07:34:41 +00:00
Sandeep Somavarapu 3d4a1bc11e
Split IUserDataProfilesService (#152385)
* - extract IUserDataProfileService from IUserDataProfilesService
- Adopt it

* 💄

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2022-06-17 07:04:35 +00:00
Benjamin Pasero 761f8b21df
storage - allow to migrate to a new profile (#152317)
* storage - allow to migrate to a new profile

* reuse data migration code

* use correct profile for logging

* cleanup

* address feedback

* dont dipsose store

* lipstick

* align

* simplify

* rensmes

* pause emitters

* reuse
2022-06-17 06:49:57 +00:00
Benjamin Pasero 47f417529c
Revert "fix smoke tests on linux (#152232)" (#152418)
This reverts commit 5f696f9955.
2022-06-17 08:20:16 +02:00
Robo fbf1cf3832
chore: update electron@18.3.3 (#152410)
Bumps microsoft-build from 14009868 -> 14029392
2022-06-16 21:35:01 -07:00
SteVen Batten 2f4334e07c
fix build: try not using utility proc by default (#152416)
try not using utility proc by default
2022-06-17 03:13:28 +00:00
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 b067047af1
Update src/vs/platform/terminal/node/ptyService.ts
Co-authored-by: Megan Rogge <merogge@microsoft.com>
2022-06-16 17:34:36 -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
Daniel Imms bfa57bdad5
Restore old buffers if no additional interactions happened
This makes terminals only restore their current session's buffer if
there was some interaction by the user, similar to how the initial
process doesn't get revived if no interaction occurred.

Fixes #142855
2022-06-16 17:17:14 -07:00
Megan Rogge 0c913941fa
Update src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2022-06-16 16:09:31 -08:00
Megan Rogge db7d07d647
Update src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2022-06-16 16:08:56 -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
meganrogge 9cfb7fc995
apply to single tab as well 2022-06-16 11:26:29 -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
Henning Dieterichs c3c62cb054
Fixes scroll synchronization bug. 2022-06-16 20:22:19 +02: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
Henning Dieterichs d21ab95de1
Splits up files of 3wm. 2022-06-16 19:55:08 +02: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
Henning Dieterichs 05a2f13f84
Refactors 3wm code. 2022-06-16 18:34:14 +02: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