Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot split complete terminal created by task #62331

Closed
mjbvz opened this issue Oct 31, 2018 · 5 comments
Closed

Cannot split complete terminal created by task #62331

mjbvz opened this issue Oct 31, 2018 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues terminal Integrated terminal issues
Milestone

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Oct 31, 2018

Issue Type: Bug

Steps

  1. With a tasks.json:
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "ExitWithCode",
            "type": "shell",
            "command": "exit 4",
            "presentation": {
                "echo": true,
                "reveal": "silent",
                "focus": false,
                "panel": "shared",
                "showReuseMessage": true,
                "clear": false
            }
        }
    ]
}
  1. Run the task.
  2. This should open the intergrated terminal with the message Terminal will be reused by tasks, press any key to close it. at the bottom
  3. Now click on the split terminal button

Bug
Button has no effect. No errors in developer console.

You can split the terminal for tasks that are still running.

VS Code version: Code - Insiders 1.29.0-insider (97ad72a, 2018-10-31T06:11:22.318Z)
OS version: Darwin x64 18.0.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 16.00GB (0.30GB free)
Process Argv -psn_0_50495525
Screen Reader no
VM 22%
@Tyriar
Copy link
Member

Tyriar commented Oct 31, 2018

Splitting works on tasks that are active so this must be related to terminals that don't have a process (maybe just those that exit immediately?). FYI @alexr00

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug tasks Task system issues terminal Integrated terminal issues labels Oct 31, 2018
@Tyriar Tyriar added this to the Backlog milestone Oct 31, 2018
@kevinra
Copy link

kevinra commented Nov 14, 2018

I'd like to confirm I have the same bug on VS Cod 1.29.0, Mac OS Mojave.
I can't split the terminal used for building my C++ code. The last message of the terminal is:
"Terminal will be reused by tasks, press any key to close it." I can reuse the terminal as long as I don't press any key.

@johanforssell
Copy link

johanforssell commented Nov 29, 2018

I'm not getting any terminal split since I update to 1.29.1 (Linux).

no-peek-for-me-2

@Tyriar
Copy link
Member

Tyriar commented Nov 29, 2018

@johanforssell that's as designed, not sure why you're not getting the message though:

image

@vscodebot vscodebot bot removed the insiders label Dec 13, 2018
@Tyriar
Copy link
Member

Tyriar commented Oct 8, 2019

This works now.

@Tyriar Tyriar closed this as completed Oct 8, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

4 participants