Open sbfkcel opened 7 years ago
@sbfkcel Can you please spare a few more words to describe this issue
E.g:
Now copy a piece of code (folding state)
After pasting to another location, it is desirable to maintain its folded state. Of
Rather than paste after the start
I hope my description is accurate
@jrieken
To keep the number of issues in our inbox on a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: We look at the number of votes the issue has received and the number of duplicates issues filed. If you disagree and feel that this issue is crucial: We're happy to listen and to reconsider. Maybe you want to give it a try yourself and provide the feature through an extension or a PR: We're happy to give advise and get you started. Thanks for your understanding. Thanks for helping and happy coding!
I am glad this issue was re-opened, since I would really like to see this feature integrated! I still don't know, though, how to vote for this issue. Just by placing a "+1"?
@aeschli So how can I upvote? (You write "We look at the number of votes the issue has received...")
To vote, add a :+1: on the description
Ok - thanks!
Hmmm... other, related issues had more votes. Here it is only me now it seems...
+1 for a "Paste Folded"
I need this. 1+
@huahuayu
Validated is not the same problem as I describe what I hope to solve.
Column selection mode refers to turning a horizontal selection into a vertical selection.
When selecting, if you need to select the complete content of each line, you need to drag the cursor to the end of each line. And if it is in a folded state and copied and pasted, it is not pasting the complete content (that is, not including the folded part of the content, from your GIF demo, the code line number after pasting can also be clearly seen).
@sbfkcel ok then I will withdraw my comment. I only need to keep the function signature, so it's different.
+1 for this feature
+1
+1 for an option)
+1 for this feature
+1
It would nice if this worked for Copy line down
as well, which I use more often (together with Move line down
) in cases where I'm want the copy in the same file. (The advantages being a) you don't have to be as precise in selecting what you want, and b) in Python, where indentation isn't automatically adjusted on paste, I don't end up pasting onto a line where there's already a tab character, thus shifting my first line out of place).
Interestingly, Copy line down
and regular copy-pasting have opposite (undesirable) behaviors.
Copy-paste - the original stays folded, the pasted version gets unfolded:
Copy line down
- the new copy stays folded, the original gets unfolded:
+1
+1
I upvote.
+1
+1
It is recommended to support folding of the code snippet also retain its folded format