Martin
Martin

Reputation: 1640

Is there a way to automatically uppercase comments in Xcode?

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

Upvotes: 0

Views: 419

Answers (2)

Xynyn
Xynyn

Reputation: 11

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

Upvotes: 0

user79854
user79854

Reputation:

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.

Upvotes: 1

Related Questions