Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode automatically generated comments?

Tags:

comments

xcode

Every time when I create a new file in XCode, it makes some comment at the top of the file. Recently it has changed somehow - I dont know why and how to reset this.

Its now like this:

//
//  [Filename.cpp]
//  [Projectname]
//
//  Created by [Name] on [Date]
//  Copyright 2011 [Company]. All rights reserved.
//

But was first like this:

/*
 *  [Filename.cpp]
 *  [Projectname]
 *
 *  Created by [Name] on [Date]
 *  Copyright 2011 [Company]. All rights reserved.
 *
 */

So is there some setting, where I can reset this style of auto generated comments? Where I can I change this?

like image 830
Constantin Avatar asked Jan 26 '11 10:01

Constantin


1 Answers

On a default installation, the directory "/Developer/Library/XCode/File Templates" has all the new file templates.

like image 54
Saurabh G Avatar answered Oct 19 '22 13:10

Saurabh G