microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.35k stars 28.6k forks source link

Tasks should provide terminal context menu item to restart #193662

Open ulugbekna opened 11 months ago

ulugbekna commented 11 months ago

Feature Request Description

Ask: a new terminal context menu item for tasks running in terminal - "Restart task"

More info: It would be great if I could right-click on the terminal that the task is running in and click on menu item "Restart task" to restart it.

This would be very helpful in my case where I have a terminal split into 3 terminals each with a task.

mirobo commented 9 months ago

A feature request was already created 3 years ago and it was closed without providing a viable solution (IMO). It is expected that we create a script to achieve this.. https://github.com/microsoft/vscode/issues/110682

If IntelliJ can do this quite reliably, why can't VSCode :-P ? I think it would be a huge benefit, especially when working with Node-based apps.

hanhcode commented 1 month ago

I think this feature is very necessary