-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
[folding] clicking on on line number of folded line should select full folding range #59657
Comments
(Experimental duplicate detection) |
To select a folded range is not really difficult. Place cursor at the beginning of the line with the folding marker, press Shift+down. But I can look into selecting the full range when clinking on the the line number. |
Just to add some info, SublimeText makes the "folded character indicator" selectable, so that we can easily select it to select the folded region. It is also useful when selecting a region with the mouse. |
another useful case is to delete a whole block of dead code, really looking forwarding to have this feature implemented, cheers. |
I'd really like to have this feature too, much easier to work with ctrl+shift+k (delete line). |
Issue Type: Bug
Expected:
Can select (only) the whole folded area
Actual:
It's either the first line of folded area, or the whole folded area and next line.
Other editors do not have this problem, but the solutions are different:
Workaround:
Click the beginning of the folded line, drag to the beginning of the next line. It works, but requires much more mouse precision than clicking/dragging in margin area.
Suggestion:
A simple question: how often do you want to select only the first line when you click the margin of folded area? I believe it's very rare, so Visual Studio's solution is desired.
VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T16:17:45.060Z)
OS version: Windows_NT x64 10.0.17134
System Info
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: unavailable_off
The text was updated successfully, but these errors were encountered: