Printing multiple selections #351
hedbeerSICKAG
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Since you are the second person to tell me that multiple selections are possible I tried harder searching for this. Pressing
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, thanks for your work on this excellent extension!
I find the ability to print only the currently selected lines very useful, and think it would be nice if it would also work with multiple selections. (Pressing ctrl and selecting an additional range of lines is one way to get multiple selections. Pressing alt-enter when searching is another, useful especially in combination with regex searches.)
I found this closed issue #162 from 2022, but I hope it is OK I reopened the topic as a discussion.
Currently the extension seems to only print the first selection range. I saw the extension supports printing multiple selected files, so hopefully code for that can reused to print multiple selections.
I had a quick look around, and think a starting point would be to use the
TextEditor
propertyselections
instead ofselection
on line 63 in print-session.ts. I might try my hand on an MR later, but realistically, probably not. :(Beta Was this translation helpful? Give feedback.
All reactions