Commit Graph

44 Commits

Author SHA1 Message Date
Benjamin Pasero 5dfa261ced remote - allow to open files from user home with tilde syntax (#83213) 2020-01-14 10:16:04 +01:00
Alex Ross d363b988e1 Prevent task error when no folder open
Fixes #86419
2019-12-09 14:53:09 +01:00
Alex Ross 7997080192 Handle already resolved task variables in dependent tasks
Fixes #77803
2019-11-04 10:35:46 +01:00
Alex Ross 9bc292a262 Fix findExecutable to check that the path is not a dir
Fixes #83509
2019-10-29 10:59:57 +01:00
Alex Ross b059cbd074 Attempt to fix process tasks with Windows SSH host
part of #82994
2019-10-23 17:04:00 +02:00
Alex Ross c179d2f79a Task tweaks for tasks in workspace file
Part of #1435
2019-10-17 15:36:26 +02:00
Alex Ross cc100aa664 Add ability to have OS specific task problem matchers
Fixes #59023
2019-10-11 16:01:30 +02:00
Alex Ross dc4b1c231c Rename CustomExecution2 to CustomExecution
Part of #80375
2019-10-11 14:43:23 +02:00
Alex Ross cc6d174f7c Add task end fire so that executions are cleaned up
Fixes #81777
2019-10-11 12:35:46 +02:00
Alex Ross be89df857d Add busy tasks and check busy tasks in debug
to prevent 'stale' prelaunch task results

Fixes #82076
2019-10-11 11:24:21 +02:00
Alex Ross c270a67615 Terminal should scroll to bottom on reused task terminals
fixes #72503
2019-10-08 11:35:33 +02:00
Matt Bierner b0dccbcf75 Marking a bunch of static variables as readonly
Readonly helps out with TS's type guards and is also a good best practice. Specifically, readonly strings/numbers have their literal type instead of a generic `string` | `number` type, which can help catch dead code and some common programming mistakes
2019-10-07 15:40:02 -07:00
Alex Ross e14c86a791 Add a useful message for when background tasks don't have a watching problem matcher
Fixes #81887
2019-10-07 16:56:09 +02:00
Alex Ross 2d96b9b616 Fix global tasks again
Fixes https://github.com/microsoft/vscode/issues/78817
2019-10-07 12:41:19 +02:00
Daniel Imms c3e7a4a1ec Move a lot of terminal into browser
Fixes #79425
2019-09-12 20:36:08 -07:00
Alex Ross ca4c1bf7a0 Go to ext host for system default shell and args for tasks
Fixes https://github.com/microsoft/vscode-remote-release/issues/1203
2019-09-05 14:59:08 +02:00
Alex Ross bfa3db2f07 Allow one-off global tasks if they have a cwd
Fixes #78817
2019-09-05 10:46:54 +02:00
Alex Ross bcc3acab37 Problem matcher shouldn't read echo line
Fixes #80107
2019-09-02 11:59:21 +02:00
Alex Ross e17398bc33 Fix for-in loops over arrays in tasks
Part of #79432
2019-08-23 13:12:54 +02:00
Alex Ross 4acba1a2dd Remove layer breaker from terminalTaskSystem
Fixes #79210
2019-08-22 18:05:41 +02:00
Benjamin Pasero fa1fb02b11 fix #79454 2019-08-22 08:27:05 +02:00
Alex Ross d94bb19d81 strictPropertyInitialization in tasks and custom tree view
Part of #78168
2019-08-13 12:07:53 +02:00
Daniel Imms 37e0b8e229 Add terminal.integrated.automationShell
Fixes #78497
2019-08-09 09:40:38 -07:00
Alex Ross a98faa4454 Remove CustomExecution
Fixes #78540
2019-08-06 13:48:37 +02:00
Daniel Imms 25fe980387 Remove terminal renderers
Part of #69865
2019-08-05 14:31:15 -07:00
Daniel Imms 3866deba35 Use pty naming instead of virtual process
Part of #77160
2019-07-25 16:00:41 -07:00
Daniel Imms b2ac640f7b Merge pull request #77148 from mjbvz/use-disposable-store-terminal
Use DisposableStore in terminal
2019-07-11 07:54:29 -07:00
Alex Ross dc977a0a35 Allow tasks with empty command and non-empty args
Fixes #77059
2019-07-11 10:22:50 +02:00
Matt Bierner 706bf64362 Use DisposableStore in terminal
Switches some places in the terminal code to use a DisposableStore instead of an array of IDisposables
2019-07-10 15:06:22 -07:00
Alex Ross 7705bbd564 Don't use saved state when executing tasks
#77098
2019-07-10 18:16:23 +02:00
Alex Ross e84fc7021b Adopt TerminalVirtualProcess for Custom task execution (#76852)
* Adopt TerminalVirtualProcess for Custom task execution

* Update Custom task execution API to return TerminalVirtualProcess in callback

This also required the addtion of a start on the virtual terminal process

* Clarify start API

Fixes #76492
2019-07-10 09:31:40 +02:00
Alex Ross 43cb2d68d0 Fix custom tasks (no command) 2019-07-05 15:24:45 +02:00
Alex Ross 9686a63255 Fix commandless tasks
Part of #76611
2019-07-05 11:39:47 +02:00
Alex Ross 4f0d79d116 Fix quick terminal splitting for tasks
Part of #76611
2019-07-05 11:16:08 +02:00
Alex Ross 30379ab74b Tasks should support string terminal args
The termianl setting allows this, so tasks needs to handle it

Fixes #75946
2019-06-27 11:19:34 +02:00
Alex Ross 33eae179e4 Fix tasks platform for quoting
Fixes #75774
2019-06-25 09:36:57 +02:00
Daniel Imms 460e72b4ca Merge pull request #75883 from microsoft/alexr00/terminalPlatformOverride
Add platform override to getDefaultShellAndArgs in terminal
2019-06-24 07:10:41 -07:00
Alex Ross b40dbda0bd Change promise structure of creating terminal in tasks
Potential fix for #75774
2019-06-21 13:01:01 +02:00
Alex Ross 648b2d5ddf Add platform override to getDefaultShellAndArgs in terminal
Part of https://github.com/microsoft/vscode-remote-release/issues/757
2019-06-21 11:38:55 +02:00
Daniel Imms 0aab08edf2 Add getDefaultShellAndArgs
Also differentiate default from system shell
2019-06-19 15:25:44 -07:00
Daniel Imms 87e16500d2 Call getDefaultShell via ext host on web
Part of #75795
2019-06-19 12:57:26 -07:00
Alex Ross 416f8ac259 Remove some uses of process in tasks
The terminal task system still has references to process that affect only Windows. This change removes some of those references

Part of #69113
2019-06-18 12:13:35 +02:00
Alex Ross 6ba5d1dcb3 Remove duplicate sysnative path conversion in tasks
Fixes #75516
2019-06-18 11:01:03 +02:00
Alex Ross 8cb79b297f Tasks for web (#75619)
* Refactored task service. Still need to remove semver

* Fix process conditions

* bash.exe to bash for default shell

* Fix URI for windows remote in terminal task system and fix variable resolver so it doesn't have an error on Windows

* Remove semver from task service in browser

* Version and engine compatibility
2019-06-17 11:26:02 +02:00