Iniyan Selvan
Iniyan Selvan

Reputation: 431

IntelliJ IDEA shortcut to convert first letter to uppercase?

for example

String uuid; String name; to String Uuid; String Name;

(This is just an example, the above code may not be the correct convention)

Upvotes: 12

Views: 9959

Answers (2)

Mahdi mehrabi
Mahdi mehrabi

Reputation: 1744

if you want to do that without third-party plug-in you can just select the first letter and press

Ctrl + Shift + U

Upvotes: 7

CrazyCoder
CrazyCoder

Reputation: 402493

You can try the String Manipulation third-party plug-in.

Provides actions for text manipulation:

  • Toggle style (camelCase, hyphen-lowercase, HYPHEN-UPPERCASE, snake_case, SCREAMING_SNAKE_CASE, dot.case, words lowercase, Words Capitalized, PascalCase)
  • To SCREAMING_SNAKE_CASE (or to camelCase)
  • To snake_case (or to camelCase)
  • To dot.case (or to camelCase)
  • To hyphen-case (or to camelCase)
  • To hyphen-case (or to snake_case)
  • To camelCase (or to words)
  • To PascalCase (or to camelCase)
  • Capitalize selected text

Upvotes: 9

Related Questions