Home » Android » Is there a shortcut on Android Studio to convert a text to uppercase?

Is there a shortcut on Android Studio to convert a text to uppercase?

Posted by: admin March 11, 2020 Leave a comment

Questions:

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

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

How to&Answers:

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

Answer:

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.

Answer:

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.

Answer:

Command+Shift+U worked for me on my Mac

Answer:

Sometimes some weird things happening. I am using Ubuntu 18.10.

My string is like :

enter image description here

Now when I press CTRL+SHIFT+U then I am getting output like:

enter image description here

So I tried with CTRL+SHIFT+WINDOWS+U and its worked perfectly.

Note : I have kept CAPS LOCK ON.

Thank you.

Answer:

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

Answer:

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