简体   繁体   English

vscode-我如何 select 整段折叠代码?

[英]vscode- how do I select an entire section of folded code?

When I fold a section of code (using > in margin) and then try to copy or cut that entire section of folded code, vscode only selects the first line and ignores the rest of the folded code.当我折叠一段代码(在边距中使用 > )然后尝试复制或剪切整个折叠代码段时,vscode 仅选择第一行并忽略折叠代码的 rest。 How can I select and entire section of folded code, without the need to expand the folded section before selection?我怎样才能select和整段折叠码,而不需要在选择前展开折叠段?

[expanded][1] [1]: https://i.stack.imgur.com/2B7BQ.png [展开][1][1]:https://i.stack.imgur.com/2B7BQ.png

折叠

结果

Try selecting till the next line, below the fold:尝试选择直到首屏下方的下一行:

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM