Android Studio是否有将文本转换成大写字母的快捷方式?

时间:2022-09-06 22:43:04

I'm trying to find a command on Android Studio to convert a selected text to uppercase but I'm unable to do so.

我试图在Android Studio上找到一个命令,将选中的文本转换为大写,但我不能这样做。

Is there any shortcut for this? I think it is a very common action on IDE but haven't found any clue yet.

这有什么捷径吗?我认为这是IDE上一个很常见的动作,但是还没有发现任何线索。

6 个解决方案

#1


145  

Select the text, then go to Edit → Toggle Case (Ctrl+Shift+U on Windows).

选择文本,然后去编辑→切换情况下(Ctrl + Shift + U在Windows上)。

Android Studio是否有将文本转换成大写字母的快捷方式?

#2


67  

The IntelliJ shortcut is evidently Ctrl+Shift+U (Command+Shift+U on Mac) and should work since Android Studio is based off of it. Here's their documentation page.

显然,IntelliJ快捷键是Ctrl+Shift+U (Mac上的命令+Shift+U),而且应该能用,因为Android Studio就是基于这个快捷键。这是他们的文档页面。

#3


37  

You need to keep Caps Lock on while using this shortcut.

使用此快捷方式时需要保持大写锁定。

I could not get the shortcut Ctrl+Shift+U to work in Android Studio on Ubuntu 14.04 until I turned on Caps Lock.

在Ubuntu 14.04的Android Studio中,我无法得到快捷键Ctrl+Shift+U,直到我打开了大写锁定。

#4


7  

Command+Shift+U worked for me on my Mac

命令+Shift+U在我的Mac电脑上为我工作

#5


2  

If you are looking for it on Linux Ubuntu 14.04 , first turned on Caps Lock and then, Ctrl + Shift + U.

如果你正在Linux Ubuntu 14.04上寻找它,首先打开大写锁定,然后按Ctrl + Shift + U。

#6


0  

The shortcut Cmd+Shift+X works in Android Studio 1.5 on Mac.

快捷方式Cmd+Shift+X在Mac的Android Studio 1.5中工作。

#1


145  

Select the text, then go to Edit → Toggle Case (Ctrl+Shift+U on Windows).

选择文本,然后去编辑→切换情况下(Ctrl + Shift + U在Windows上)。

Android Studio是否有将文本转换成大写字母的快捷方式?

#2


67  

The IntelliJ shortcut is evidently Ctrl+Shift+U (Command+Shift+U on Mac) and should work since Android Studio is based off of it. Here's their documentation page.

显然,IntelliJ快捷键是Ctrl+Shift+U (Mac上的命令+Shift+U),而且应该能用,因为Android Studio就是基于这个快捷键。这是他们的文档页面。

#3


37  

You need to keep Caps Lock on while using this shortcut.

使用此快捷方式时需要保持大写锁定。

I could not get the shortcut Ctrl+Shift+U to work in Android Studio on Ubuntu 14.04 until I turned on Caps Lock.

在Ubuntu 14.04的Android Studio中,我无法得到快捷键Ctrl+Shift+U,直到我打开了大写锁定。

#4


7  

Command+Shift+U worked for me on my Mac

命令+Shift+U在我的Mac电脑上为我工作

#5


2  

If you are looking for it on Linux Ubuntu 14.04 , first turned on Caps Lock and then, Ctrl + Shift + U.

如果你正在Linux Ubuntu 14.04上寻找它,首先打开大写锁定,然后按Ctrl + Shift + U。

#6


0  

The shortcut Cmd+Shift+X works in Android Studio 1.5 on Mac.

快捷方式Cmd+Shift+X在Mac的Android Studio 1.5中工作。