Intellij shortcut to convert code to upper or lower case?

将代码转换为大写或小写的Intellij快捷键是什么?


Ctrl + Shift + U

In the future try typing: Ctrl + Shift + A and look for any actions you like. Here: Toggle Case.

Or ⌘ Command + Shift + U if you are using Mac OSX.


According to the documentation :

Ctrl + Shift + U : Toggle case of the selected text block


I highly recommend String Manipulation plugin for Intellij.
(https://plugins.jetbrains.com/plugin/2162-string-manipulation)

With a simple Alt + M (Option + M for Mac) you get:

在这里输入图像描述

So you can easily manipulate with strings in the following way:

在这里输入图像描述

链接地址: http://www.djcxy.com/p/54022.html

上一篇: 在Intellij IDEA中跳转到编辑器快捷方式

下一篇: Intellij快捷方式将代码转换为大写还是小写?