X code修改/删除注释模板 [英] Xcode change/remove comment template

查看:520
本文介绍了X code修改/删除注释模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我一直在学习的大部分时间里,我一直在使用Eclipse的C版本如何C.编程。最近,我尝试了X $ C $℃。我使用的是Mac上运行的Mac OS X Lion的 - X code版本4.1

Recently I've been learning how to program C. For most of the time, I have been using the C version of Eclipse. Recently, I tried out Xcode. I am using a Mac running Mac OS X Lion - Xcode version 4.1.

有一个委屈我。在我创建的每个文件的顶部,有评论这小部分,我想还没有删除或更好,更改

There is one grievance I have: at the top of every file that I create, there is this little section of comments that I wish to remove or better yet, change.

当创建文件时,这样的事情是把在文件的默认顶部:

When I create a file, something like this is put at the top of the file by default:

//
//  FILE.c
//  PROJECT NAME
//
//  Created by Martin Tuskevicius on DATE.
//  Copyright YEAR ORGANIZATION (my school name for some reason). All rights reserved.
//

显然,在首都的事情会与实际值替换。对于那些你必须使用,或已经使用了X code,对于编程C本 - ?你知道如何更改或删除这些默认注释的方式

Obviously the things in capitals would be replaced with an actual value. For those of you have use, or have used Xcode, for programming C - do you know a way of how to change or remove these default comments?

我真的AP preciate任何帮助。
谢谢!

I really appreciate any help. Thanks!

推荐答案

更新

据低于@迈克尔Dautermann的评论,在X code.app束变化的模板是不是一个好办法。检查 http://stackoverflow.com/a/33743/380774 了解详情。

According to @Michael Dautermann 's comment below, change templates in Xcode.app bundle is not a good way. Check http://stackoverflow.com/a/33743/380774 for more information.

您可以删除或更改文件模板的头,我用X code 4.3,并在文件模板中 /Applications/X$c$c.app/Contents/开发商/库/ X code /模板/文件模板

You can remove or change the header in File Templates, I'm using Xcode 4.3, and the File Templates is in /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates.

这篇关于X code修改/删除注释模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆