XCode自动生成评论? [英] XCode automatically generated comments?
本文介绍了XCode自动生成评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我在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.
现在这样:
//
// [Filename.cpp]
// [Projectname]
//
// Created by [Name] on [Date]
// Copyright 2011 [Company]. All rights reserved.
//
但是首先是这样:
/*
* [Filename.cpp]
* [Projectname]
*
* Created by [Name] on [Date]
* Copyright 2011 [Company]. All rights reserved.
*
*/
所以有一些设置,这种风格的自动生成的评论?在默认安装时,目录/ Developer / Library / XCode / File Templates可以改变这个设置。
So is there some setting, where I can reset this style of auto generated comments? Where I can I change this?
推荐答案
具有所有新的文件模板。
On a default installation, the directory "/Developer/Library/XCode/File Templates" has all the new file templates.
这篇关于XCode自动生成评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文