Commit Graph

3080 Commits

Author SHA1 Message Date
Alex Dima
cba1d1b184 Prefix all performance.mark calls with code/ 2021-01-11 16:12:03 +01:00
Daniel Imms
16452c54f3 Merge pull request #113938 from microsoft/alex/terminal-exthost-improvements
Avoid timeouts in mirroring terminals to the extension host
2021-01-07 09:29:17 -08:00
Alex Ross
a7cf03de2d Add elevation message to ports UI (#113990)
This change allows remote extension to handle elevation if they want.
Fixes microsoft/vscode-remote-release#3922
2021-01-07 16:21:06 +01:00
Alex Ross
14bb2fdc12 Tunnels from a tunnel factory can have async dispose 2021-01-07 11:34:17 +01:00
Alexandru Dima
3d8888779d Fixes #112446: Avoid timeouts in mirroring terminals to the extension host by assigning a temporary UUID to terminals created on the extension host side 2021-01-07 00:13:42 +01:00
Alex Ross
4804bbcdff Tunnel factory can return undefined (#113232)
Fixes microsoft/vscode-internalbacklog#1680
2020-12-28 09:54:08 +01:00
Alex Ross
ed87c35de9 Show more port cmdline when wide
And add pid.
Fixes #112796, microsoft/vscode-remote-release#4120
2020-12-24 11:54:07 +01:00
Alex Ross
0b1892f877 Start candidate finding later (#113377)
And filter out the renderer.
Fixes #4185, #4110
2020-12-24 11:51:47 +01:00
Alex Ross
05a5209b4c Fix candidate port finding (more async, better timing) (#113342)
Fixes #112843
2020-12-23 14:02:06 +01:00
Alex Ross
9c2a1dc473 Don't restore ports that are already detected
Part of microsoft/vscode-remote-release#4112
2020-12-22 14:41:11 +01:00
Alex Ross
48c2ad6493 Temporary workaround for #112843 2020-12-21 11:19:14 +01:00
Alex Ross
fc6bf56844 Fix executeTask for composite tasks
Fixes #112545
2020-12-16 17:02:19 +01:00
Alex Ross
6f08397de0 Enable fileWorkspaceFolder variable for remote tasks
Fixes #112514
2020-12-16 11:52:33 +01:00
isidor
25d6642db5 debug: preserve focus in editor when integrated terminal is shown so match debug console behavior and to make sense for accessibility
fyi @weinand
2020-12-16 09:22:04 +01:00
Alexandru Dima
fbe4aa28ff Collect and deliver perf marks from extension hosts (#112552) 2020-12-15 21:48:14 +01:00
Rob Lourens
dce22cf74b Fall back on node API when $SHELL is not set, for
user shell and shell environment discovery
See github/codespaces#1639
2020-12-14 09:36:00 -08:00
Alex Ross
b3a3dc9c0a Debt: Test findPorts (#112092)
Add a test for the port finding logic
2020-12-08 17:03:21 +01:00
Alex Ross
b01183bda2 Add extension source to forwarded ports
Part of microsoft/vscode-remote-release#4021
2020-11-26 12:03:26 +01:00
Alex Ross
950c942b7c TunnelCreationInformation -> TunnelCreationOptions
Fixes #110795
2020-11-24 17:52:13 +01:00
Alex Ross
c4b7d10912 Use property bag for tunnel creation elevation
Fixes #110795
2020-11-24 16:04:54 +01:00
Alex Ross
8374d6a4c7 Detect ports to forward more often
Part of microsoft/vscode-remote-release#4021
2020-11-19 10:55:04 +01:00
Martin Aeschlimann
8513f398c4 command for open external 2020-11-18 13:03:15 +01:00
Martin Aeschlimann
3184dca0bc cli server: add OpenExternalCommandPipeArgs 2020-11-17 21:02:24 +01:00
Andre Weinand
05606c1e09 reuse terminals only for unchanged config; fixes #81345 2020-11-17 18:19:48 +01:00
Andre Weinand
876d1f09cc introduce new variable ${fileWorkspaceFolder}; fixes #84162 2020-11-16 13:09:50 +01:00
Rob Lourens
af6843bacf Convert terminal ext api null args to undefined
Fix #110253
2020-11-15 12:49:42 -08:00
Alex Ross
9d389f0364 Handle error case for candidate ports
Part of microsoft/vscode-remote-release#2776
2020-11-13 17:16:11 +01:00
Alex Ross
19c93615dd Properly call dispose on extension created tunnels
Part of microsoft/vscode-remote-release#3961
2020-11-13 15:40:28 +01:00
Andre Weinand
0998e4ccbb respect user settings when creating terminals; fixes #109111 2020-11-13 10:08:23 +01:00
Connor Peet
591039e34c debug: fix compound integrated terminal launches breaking
Fixes https://github.com/microsoft/vscode/issues/71850

Adds more resilient handling of multiple debug terminals, reusing
terminals and adding a 1-second "lock out" before a terminal is
candidate for reuse.
2020-11-12 15:23:32 -08:00
Andre Weinand
bd98013973 insert a 1 sec delay before using a newly created integr. terminal; a companion fix for #38578 2020-11-11 22:18:51 +01:00
Alex Dima
14140d2a19 Revert "Merge pull request #109049 from digeff/searchView/context/extensionPoints"
This reverts commit a1bb5ac207, reversing
changes made to 9a08a10708.
2020-11-11 09:46:47 +01:00
digeff
86f773db82 Merge remote-tracking branch 'origin/master' into searchView/context/extensionPoints 2020-11-10 12:58:25 -08:00
isidor
081632d225 debug: remove legacy adapterExecutableCommand 2020-11-06 14:59:00 +01:00
Alex Ross
7d1affcf90 Throw useful error if task execution is undefined
https://github.com/microsoft/vscode/issues/109861
2020-11-03 11:38:32 +01:00
digeff
bce86a137e Fixed other context menus using this context 2020-11-02 10:57:41 -08:00
Alex Dima
f3b8f4f765 Do not use process.env directly in findExecutable 2020-10-26 16:00:15 +01:00
Rob Lourens
89540b65db Don't persist debug terminals
#109084
2020-10-22 17:02:18 -07:00
Alex Dima
35368d6c01 Introduce Remote Terminals
Co-authored-by: Rob Lourens <roblourens@gmail.com>
2020-10-14 22:39:28 +02:00
Alex Dima
44f8fcdd2f Avoid needing the entire IConfigurationResolverService for variable resolving & more explicit typing for fetchSetting 2020-10-13 21:10:23 +02:00
Benjamin Pasero
50f479b165 ipc - rename methods and add tests 2020-10-12 15:57:25 +02:00
Benjamin Pasero
2b74e92476 debt - move IPC handle methods into one place 2020-10-12 14:51:22 +02:00
Sandeep Somavarapu
382f9e52e6 #105047 simplify 2020-09-23 09:01:22 +02:00
Benjamin Pasero
55f071a72f debt - more use of product service over product.ts 2020-09-17 10:08:28 +02:00
Daniel Imms
47ecd45eaa Merge branch 'master' into tyriar/welcome 2020-08-27 12:47:59 -07:00
Daniel Imms
aa6b2f163d Initial terminal welcome support 2020-08-27 12:38:33 -07:00
Alex Ross
0de8d51904 Finalize task detail API
Fixes #69785
2020-08-27 11:08:48 +02:00
Andre Weinand
36969b3cf9 Merge branch 'master' into add-debug-adapter-named-pipe-server 2020-08-19 11:41:18 +02:00
Alex Ross
8418e06a5b Resolve customExecution task definition before going to exthost
Part of #81007
2020-08-14 16:31:44 +02:00
Alex Ross
52e38713f2 Allow workspace tasks to be executed through API
Fixes #104408
2020-08-12 14:46:45 +02:00