Commit Graph

180 Commits

Author SHA1 Message Date
Connor Peet
73f3a2726e debug: use icon for debug terminals
Fixes #128251
2021-07-09 12:56:02 -07:00
Andre Weinand
1fe6115044 Merge pull request #123478 from danielgary/main
use title for terminal selection
2021-06-07 16:10:58 +02:00
Daniel Imms
43b7187c3d Force inheritEnv in ext debug terminals
Fixes #124041
2021-05-25 04:55:02 -07:00
Daniel Imms
6d70e727d0 Set default profile in exthost from renderer
Fixes #121760
Related microsoft/vscode-python#16175
2021-05-12 17:14:18 -07:00
Daniel Gary
8144e138ca Update src/vs/workbench/api/node/extHostDebugService.ts
Co-authored-by: Connor Peet <connor@peet.io>
2021-05-11 13:53:01 -05:00
Alex Ross
f41b6e6d81 Add active editor to editor tabs and use in variable resolver (#123450) 2021-05-11 01:47:28 -07:00
Daniel Gary
791caebcc5 use title for terminal selection 2021-05-07 15:17:17 -05:00
Megan Rogge
de4e9067e8 externalTerminal renderer -> main process (#122871) 2021-05-04 02:18:34 +00:00
Matt Bierner
731402dce2 async override -> override async 2021-04-21 13:40:44 -07:00
Matt Bierner
e1f0f8f513 Add override keyword in codebase (#120755)
For #120675

This uses a script to add the override keyword to places that need it in the codebase

Note that we can't enable the --noImplicitOverride setting yet since there are still around 200 errors that require further attention
2021-04-08 10:05:20 -07:00
Andre Weinand
21d20148ee new debug setting for clearing a terminal before reusing; fixes #116699 2021-03-16 13:09:26 +01:00
Benjamin Pasero
1441ba91f0 environment - consistently handle VSCODE_CWD in all our node.js processes 2021-03-15 11:22:42 +01:00
Connor Peet
3088c27fbd debug: mark terminal as free when the associated debug session ends (#115573) 2021-02-02 08:27:37 -08: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
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
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
isidor
081632d225 debug: remove legacy adapterExecutableCommand 2020-11-06 14:59:00 +01:00
Rob Lourens
89540b65db Don't persist debug terminals
#109084
2020-10-22 17:02:18 -07:00
Tyler Leonhardt
10a5d09ed5 Add DebugAdapterNamedPipeServer 2020-07-23 15:40:13 -07:00
Andre Weinand
ab8267f7f4 revert fix for #95423; fixes #100508 2020-06-18 18:41:00 +02:00
Andre Weinand
d4dbf77308 don't "delete" mandatory property; fixes #99479 2020-06-16 12:41:29 +02:00
Andre Weinand
f9c6fa3161 properly resolve ${file} variable; fixes #95423 2020-06-15 22:44:51 +02:00
Matt Bierner
049b0b81e7 Supress TS 4.0 delete operator error
Cast to `any` while we work on a proper fix
2020-06-05 11:52:35 -07:00
Benjamin Pasero
560b21efa4 Crash reporter creates two directories (fix #99149) 2020-06-03 10:22:52 +02:00
Alex Dima
f41b5754bb Fix compilation error on master 2020-04-24 21:44:33 +02:00
Andre Weinand
4e605ec54a propagate ext terminal errrors; fixes #92380 2020-03-10 17:58:45 +01:00
Connor Peet
6a04aa0477 debug: always set environment variables per-process in integrated terminal
Fixes #90375
2020-02-12 08:35:57 -08:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Andre Weinand
de3922b5b4 remove workaround for #87088 2020-01-08 12:22:32 +01:00
Andre Weinand
eaf427d740 properly use the automationShell setting; fixes #87700 2020-01-07 18:12:58 +01:00
Andre Weinand
e38b49b5a3 restructure variable resolver 2019-11-20 17:36:09 +01:00
Andre Weinand
7a89ac693b Make debugging independent from node APIs; fixes #85076 2019-11-18 23:03:00 +01:00
isidor
0c2f93d927 Some strict property init #81574 2019-11-15 11:37:37 +01:00
Matt Bierner
84c882df68 Fix extHost crashing due to using vscode as a value (instead of only as types) 2019-11-13 14:51:14 -08:00
Andre Weinand
4a61f33994 proposed API for creating debug uri 2019-11-13 18:18:46 +01:00
Matt Bierner
cd4d7e6c2b Fix more node 12 typing errors
For #82514
2019-11-04 15:11:54 -08:00
Andre Weinand
ec30f64952 use async spawn; fixes #69859 2019-10-28 13:10:52 +01:00
isidor
2e5e00128c extHostDebugService: Enable strictPropertyInitialization
#78168
2019-10-14 14:43:34 +02:00
isidor
a9c67d8b82 extHost startDebugging minor polish 2019-09-19 16:08:52 +02:00
Dmitry Gozman
e4d4b43f35 Allow debug session to share repl with its parent; fixes #62419
Introduced DebugSessionOptions passed to debug.startDebugging which
encapsulated DebugConsoleMode to control this behavior.
2019-09-18 11:45:39 -07:00
Isidor Nikolic
97a05cec1b Merge pull request #80122 from dgozman/fix-79583
Make DebugSession.name writable; fixes #79583
2019-09-05 11:30:30 +02:00
Dmitry Gozman
cb6b17d6f3 Make DebugSession.name writable; fixes #79583 2019-09-04 15:06:26 -07:00
Johannes Rieken
dedf0de944 change type of _serviceBrand from any to undefined, #79918 2019-08-30 15:40:46 +02:00
isidor
a7cc79a554 debug: introduce data breakpoints 2019-08-16 17:16:46 +02:00
Daniel Imms
37e0b8e229 Add terminal.integrated.automationShell
Fixes #78497
2019-08-09 09:40:38 -07:00
Johannes Rieken
7a6f22b3af rename rpcService to extHostRpcService 2019-08-09 09:51:22 +02:00
Johannes Rieken
36135bd2ee add debug and extension service to injector 2019-08-07 21:20:51 +02:00