Commit Graph

31 Commits

Author SHA1 Message Date
Alex Ross
a3a5d6a6e1 Fix tasks test 2020-11-03 14:03:12 +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
Matt Bierner
7e0c1aa76e Don't use async on abstract functions 2020-09-09 09:21:56 -07:00
Alex Ross
0de8d51904 Finalize task detail API
Fixes #69785
2020-08-27 11:08:48 +02:00
Alex Ross
640caaef05 Finalize task custom execution variable resolving
Fixes #81007
2020-08-20 13:49:20 +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
Alex Ross
76b7d04718 Change how supported task executions are set
Fixes #103039
2020-07-23 11:19:37 +02:00
Alex Ross
2d7ae4a7d9 Change where task execution context is set 2020-07-20 13:11:56 +02:00
Johannes Rieken
2d27d4d079 use NotSupportedError for symbols that require the ability to launch processes, https://github.com/microsoft/vscode/issues/101857 2020-07-14 11:32:28 +02:00
Alex Ross
aed6bd7e2a Move findExecutable to extension host
Part of #101073
2020-07-13 14:25:59 +02:00
Johannes Rieken
6545fb96ba re-use default NotImplementedError, make base type as implementing task service, https://github.com/microsoft/vscode/issues/101857
fyi @alexr00
2020-07-13 12:20:24 +02:00
Alex Ross
f577e411dd Remove some uses of deprecated items from es6.code-search 2020-07-10 16:15:44 +02:00
Alex Ross
d52f137ed5 Return task execution early from executeTask
Fixes #100361
2020-06-17 13:54:21 +02:00
Alex Ross
1abf21d3d8 Explicitly set task execution way before running task
Part of #100361
2020-06-17 13:39:02 +02:00
Alex Ross
60efd18c23 Task logging for failure cases
And unneded condition clean up
2020-06-16 17:11:08 +02:00
Alex Ross
acc5aab2fa Fix extHostTask execution for strings
Fixes #98080
2020-06-15 11:38:26 +02:00
Alex Ross
230a2293df Fix race condition in getting task execution
Fixes #96643
2020-05-25 14:33:19 +02:00
Alex Ross
2c1ad8e921 Fix task user task exeuction through AP.
Fixes #90820
2020-02-21 10:58:54 +01:00
Alex Ross
c3a5ac0820 Adopt deprecation service for deprecated task constructor
Part of https://github.com/microsoft/vscode/issues/88391
2020-01-22 12:43:01 +01: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
Alex Ross
1aa537bf59 Use log service in exthosttask and exthosttreeviews
Part of #84283
2019-11-12 10:33:21 +01:00
Alex Ross
ab89935fd3 First pass at resolving task definition and passing back to custom execution (#83764)
First pass at resolving task definition and passing back to custom execution. It only currently resolves simple predefined variables, no input, command, or defaultBuildTask.

Part of #81007
2019-11-05 16:35:21 +01:00
Alex Ross
030af9515a Stabilize CustomExecution task API
Fixes #80375
2019-10-22 17:10:25 +02:00
Alex Ross
87998af618 Add task detail property and adopt in npm extension
Fixes #69785
2019-10-22 15:56:21 +02:00
Alex Ross
dc4b1c231c Rename CustomExecution2 to CustomExecution
Part of #80375
2019-10-11 14:43:23 +02:00
Alex Ross
2bc357c2ee Remove callback property from custom execution task
and update documentation for it. Part of #80375
2019-09-26 16:46:46 +02:00
Alex Ross
6fe6269c41 Keep better track of custom executions for reruns and depends
Fixes #80964
2019-09-17 17:27:15 +02:00
Alex Ross
1c01ce84b5 Refactor extHostTask (#80970)
so that most of it is in common
2019-09-16 12:09:14 +02:00
Johannes Rieken
dedf0de944 change type of _serviceBrand from any to undefined, #79918 2019-08-30 15:40:46 +02:00
Johannes Rieken
c2f2b85502 register ExtHostTask as service 2019-08-07 20:07:32 +02:00