In xcode editor, i want to change a piece of code to upper case, how can i do it quickly? such as change " my_tunner_charge" to "MY_TUNNER_CHARGE"?
There is any hotkeys? Or xcode never support this?
Same way you would in every program ~ use Find & Replace and turning off the ignore case option. Just hit command F to bring it up for one doc, command-shift F for multiple documents.
Same way you would in every program ~ use Find & Replace and turning off the ignore case option. Just hit command F to bring it up for one doc, command-shift F for multiple documents.
Thank you for replying! In fact, in some other IDEs(on Windows Operation System), i only need to press CTRL+L to make the selected words to lower case, and CTRL+U to make them to upper case.
Find & Replace maybe a choice, but i have to knock keys and input the word AGAIN!
Is there a shortcut to do this, just like CTRL+L and CTRL+U?
Use "Lowercase and Uppercase" for all letters in word
Setting the Capitalize Word key will change the first letter of the word to capital. If you want to change all letters in a selection to capitals or lowers, then set a couple of keys for the Uppercase Word and Lowercase Word choices in Text Key Bindings.
i.e., Go into xcode preferences -> KeyBindings ->Text Key Bindings -> Uppercase Word -> assign a key
and
Go into xcode preferences -> KeyBindings ->Text Key Bindings -> Lowercase Word -> assign a different key