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

Tasks output only to terminal #60622

Closed
dwilliamson opened this issue Oct 11, 2018 · 9 comments
Closed

Tasks output only to terminal #60622

dwilliamson opened this issue Oct 11, 2018 · 9 comments
Assignees
Labels
info-needed Issue requires more information from poster tasks Task system issues

Comments

@dwilliamson
Copy link
Contributor

dwilliamson commented Oct 11, 2018

Issue Type: Bug

When migrating from tasks.json 0.1.0 to 2.0.0 my commands are now writing to the Terminal instead of the Output Panel.

I can't find a way to disable this behaviour: I lose native VSCode copy/paste popup and I'm limited to configuring terminals independently for each platform in non-obvious ways (e.g. disabling line wrapping is no longer a trivial problem).

Thanks!

VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T16:17:45.060Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz (12 x 3398)
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: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 31.91GB (23.44GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
output-colorizer IBM 0.1.2
terraform mau 1.3.7
cpptools ms- 0.19.0
Go ms- 0.6.91
perforce sle 3.1.0
@vscodebot vscodebot bot added the terminal General terminal issues that don't fall under another label label Oct 11, 2018
@Tyriar Tyriar assigned dbaeumer and alexr00 and unassigned Tyriar Oct 11, 2018
@Tyriar Tyriar added tasks Task system issues and removed terminal General terminal issues that don't fall under another label labels Oct 11, 2018
@dbaeumer
Copy link
Member

@dwilliamson this can't be control right now. Can you provide more information why outputting to the terminal doesn't work for you. You can still copy text using Ctrl+C

@dbaeumer dbaeumer added the info-needed Issue requires more information from poster label Oct 15, 2018
@dwilliamson
Copy link
Contributor Author

Thanks for the response.

this can't be control right now

Sure, it can; I just keep my tasks at version 0.1.0.

My main issue is word wrap. Right now I just customise word wrap with:

"[Log]": {
"editor.wordWrap": "on"
}

That's it, across all 3 platforms and it works perfectly:

  • Correct horizontal scrollbar.
  • No weirdness/broken wraps with reflow when resizing the window.
  • No per-platform terminal settings have to be configured in config outside of the VSCode ecosystem (which means I can commit settings to SCC repos).
  • Some terminals don't disable word wrap and simply clip.

It's a much more complicated affair for a team that uses VSCode consistently across Windows/Linux/OSX.

I also lose smart auto scroll, where I can click on a line while the output panel is scrolling and have it freeze until the cursor is placed right at the end. This mimics the behaviour of Visual Studio's
that is far superior to most terminals which, again, function differently on each platform.

The copy/paste stuff is annoying but I can live with changes!

@dbaeumer
Copy link
Member

@dwilliamson What I meant is that with task 2.0.0 you can't control whether its output will be in the output panel or the terminal.

I agree that you can still use tasks 0.1.0 but it will not receive new features. And we might remove it at some point in time in the future.

@Tyriar any comments / insights on the points related to the terminal here

@vscodebot vscodebot bot closed this as completed Oct 24, 2018
@vscodebot
Copy link

vscodebot bot commented Oct 24, 2018

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@dbaeumer dbaeumer removed the info-needed Issue requires more information from poster label Oct 24, 2018
@dbaeumer dbaeumer reopened this Oct 24, 2018
@dbaeumer
Copy link
Member

@Tyriar can you please comment.

@alexr00
Copy link
Member

alexr00 commented Dec 11, 2018

@Tyriar, any insights on the terminal complaints here?

@Tyriar
Copy link
Member

Tyriar commented Dec 11, 2018

Correct horizontal scrollbar.

The terminal doesn't have a horizontal scrollbar by design

No weirdness/broken wraps with reflow when resizing the window.

This is a limitation on Windows unfortunately, it will be improved with #23688 but won't be that great on Windows unless we get changes from the Windows Console team.

No per-platform terminal settings have to be configured in config outside of the VSCode ecosystem (which means I can commit settings to SCC repos).

Not sure what this means?

I also lose smart auto scroll, where I can click on a line while the output panel is scrolling and have it freeze until the cursor is placed right at the end. This mimics the behaviour of Visual Studio's
that is far superior to most terminals which, again, function differently on each platform.

The terminal will freeze on that spot when you scroll up, until you hit a key (or until the line is trimmed off the top of the terminal). Not sure what smart auto scroll is.

I lose native VSCode copy/paste popup

We copy conhost's UX here by default on Windows, right click if there is a selection will copy the text and drop the selection, right click when there is no selection will paste. If you want to turn it off, add this setting:

"terminal.integrated.rightClickBehavior": "default"

@Tyriar Tyriar closed this as completed Dec 11, 2018
@Tyriar Tyriar reopened this Dec 11, 2018
@alexr00
Copy link
Member

alexr00 commented Dec 17, 2018

@dwilliamson does that info help you get what you want from the terminal? We gain a lot of functionality by using the terminal instead of output, so we don't have any plans to offer the output as an options. Instead, we'd rather make sure tasks in the terminal can support what people need.

@alexr00 alexr00 added the info-needed Issue requires more information from poster label Jan 4, 2019
@vscodebot vscodebot bot closed this as completed Jan 11, 2019
@vscodebot
Copy link

vscodebot bot commented Jan 11, 2019

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster tasks Task system issues
Projects
None yet
Development

No branches or pull requests

4 participants