Open nirnatan opened 4 years ago
@nirnatan I couldn't find a way to do it yet. It needs some investigation.
I'll paste here issues that looks relevant:
Launch task directly into split terminal
How to run a script in a new Integrated Terminal window from an Integrated Terminal window
Provide commands to split the terminal
We can maybe find a workaround using tasks
API.
/cc @tyriar who might have an idea
There would need to be a CLI API to split the terminal which doesn't exists and I don't think has come up before. Additionally we don't allow splitting directionally currently, it just splits depending on the orientation of the terminal.
Thanks @orta & @Tyriar!
Additionally we don't allow splitting directionally currently, it just splits depending on the orientation of the terminal
That makes sense to me.
There would need to be a CLI API to split the terminal which doesn't exists and I don't think has come up before
I would love to open an issue if you think that it would be relevant.
It seems that a similar API to the one suggested here is being developed on windows terminal. This can be handy for vscode's integrated terminal as well.
@ranyitz yes could you open an in vscode to add a cli? I think it would have to be a subgroup like code terminal split-pane
, not just code split-pane
as it would pollute the top-level namespace too much. Please include the microsoft/terminal link.
Thanks @Tyriar, issue opened - https://github.com/microsoft/vscode/issues/92031
Is it possible to add support for vscode integrated terminal? Currently the command opens 'Terminal' process with the split command