microsoft / vscode

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

Selecting the text up to the end of the line shouldn't include test failure text #188746

Open dbalek opened 1 year ago

dbalek commented 1 year ago

Type: Bug

Select all the text on the source line with the failing test. The selection includes the test failure text which is annoying as this text should be purely informational.

testError

VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:22:25.257Z) OS version: Linux x64 4.12.14-lp151.28.91-default Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2700)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|0, 1, 1| |Memory (System)|31.28GB (25.41GB free)| |Process Argv|. --crash-reporter-id adae699a-308c-4d72-9b3e-56244579cdda| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|/usr/share/xsessions/plasma5| |XDG_CURRENT_DESKTOP|KDE| |XDG_SESSION_DESKTOP|KDE| |XDG_SESSION_TYPE|x11|
connor4312 commented 1 year ago

This is an artifact of how decorations work. This is only cosmetic and the text is not copied to the clipboard. I also don't think we can control this in a nice way without redoing decorations.