在 Android Studio 中注释/取消注释选择文本的键盘快捷键 [英] A keyboard shortcut to comment/uncomment the select text in Android Studio
本文介绍了在 Android Studio 中注释/取消注释选择文本的键盘快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何用控制键组合注释掉在 IDE 中选择的多行文本?
How do I comment out several lines of text selected in the IDE with a control key combination?
我认为 Ctrl + Alt + C 是正确的顺序,但这不起作用.
I thought that Ctrl + Alt + C was the correct sequence, but that's not working.
推荐答案
要注释/取消注释一行,请使用:Ctrl + /.
To comment/uncomment one line, use: Ctrl + /.
要注释/取消注释块,请使用:Ctrl + Shift + /.
To comment/uncomment a block, use: Ctrl + Shift + /.
这篇关于在 Android Studio 中注释/取消注释选择文本的键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文