英文:
Minimise multiple labels at once in renpy
问题
我在我的代码中有多个类似这样的标签。
据我所知,唯一的关闭方法是点击四个箭头,每个箭头点击一次。
对于只有四个标签来说,这不是问题。但如果我有一百个呢?
如何在我的项目中“批量关闭”所有标签?
谢谢阅读!
英文:
I have multiple labels in my code like this.
The only way to close them as far as I'm aware is to click the four arrows, one time each.
This isn't a problem with only four labels. But what if I have a hundred?
How can I 'mass close' all labels in my project?
Thanks for reading!
答案1
得分: 1
VSCode有一个名为“折叠全部”的命令,可以通过按Ctrl + P,然后键入“>折叠全部”来访问它。
你还可以通过点击命令面板中“折叠全部”右侧的齿轮图标来调整执行此操作的键盘快捷键。在线上说默认的绑定是“Ctrl+K”和“Ctrl+0”,但我认为我已经将它们映射到我的其他功能上,所以无法在我的端上验证...
英文:
VSCode has a command called "Fold All" that'll do that. You can access it by hitting Ctrl + P and then typing ">Fold All" into the command palette.
You can also play around with the keyboard shortcut that does this by hitting the gear to the right of "Fold All" in the command palette. It says online the default keybindings are "Ctrl+K" and "Ctrl+0", but I think I've since migrated those to other things on mine so I can't verify that on my end...
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论