15

Is there a shortcut or function for upper/lower-casing the selected text in Sublime 3?

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
Niklas
  • 23,674
  • 33
  • 131
  • 170
  • 1
    Even though I am using Sublime Text 3, [this][1] answer still helped me. [1]: http://stackoverflow.com/questions/18773886/how-do-i-convert-strings-to-lowercase-or-uppercase-in-sublime-text – WinkyCharlie Mar 05 '14 at 06:04
  • 2
    Possible duplicate of [Convert selection to lowercase (or uppercase) in Sublime Text?](https://stackoverflow.com/questions/18773886/convert-selection-to-lowercase-or-uppercase-in-sublime-text) – jdhao Jun 20 '18 at 08:41

2 Answers2

40

if you need convert any text, select and press: ctrl + KU

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
TomasMolina
  • 581
  • 5
  • 13
11

If you go to the Edit menu and select Convert Case you'll find several options, with the appropriate shortcuts listed next to them. Additionally, the Case Conversion plugin, available through Package Control, adds a number of additional options to this menu for converting variables, such as snake_case, camelCase, PascalCase, dot.case, and others.

MattDMo
  • 100,794
  • 21
  • 241
  • 231