Terminal actions are not available for CustomExecution task output. #129257
Labels
bug
Issue identified by VS Code Team member as probable bug
help wanted
Issues identified as good community contribution opportunities
insiders-released
Patch has been released in VS Code Insiders
terminal
Integrated terminal issues
verified
Verification succeeded
web
Issues related to running VSCode in the web
Milestone
A lot of useful terminal actions are guarded by the
terminalProcessSupported
context key. However, even without process support, thevscode.CustomExecution
mechanism used in the tasks API will stream output to terminal panels.This means that in environment without process support, many features are not available for task output, notably including "Terminal: Focus Find" (Ctrl+F).
Can we change the preconditions/when clauses for these actions to also enable such features for task output without process support? I see two options:
terminalProcessSupported
with something liketerminalProcessSuppported || hasCustomExecution
, wherehasCustomExecution
would be set when a task with avscode.CustomExecution
starts.Please let me know if either of these make sense and if you would be open to accept a corresponding pull request.
The text was updated successfully, but these errors were encountered: