0

Is there a way to automatically uppercase comments in Xcode? Either when typing individual comments or globally after the fact?

cdespinosa
  • 20,661
  • 6
  • 33
  • 39
Martin
  • 1,570
  • 3
  • 19
  • 32

2 Answers2

1

Besides the WHY WOULD YOU WANT TO DO THAT?! question:

There is nothing built into Xcode to do this for you.

I would start with a script designed to do something similar like strip out C comments from code Python snippet to remove C and C++ comments is a good starting point. Then adapt that to write a new file with your special comments.

Community
  • 1
  • 1
0

You're never the only one . . . You can go into Preferences-Fonts & Colors and then choose a font that has only caps (ex. Copperplate).

enter image description here

Xynyn
  • 11
  • 1