2
我使用Xcode,并注意到Xcode的默认自动创建和函数完成使打开的大括号变成了新行。例如在Xcode中默认打开大括号
(void) this_is_what_xcode_does
{
// Opening braces on a line of its own - default format
}
我不喜欢那样,我想要大括号与功能名称在同一行。就像下面
(void) this_is_what_i_want_xcode_to_do {
// Opening braces on the same line as the function - my preferred format
}
如何更改默认的Xcode格式/行为?
谢谢。
只要感激你没有使用Visual Studio。 – 2014-09-19 22:21:07
@HotLicks - 事实上,Visual Studio比Xcode要好得多。我使用Xcode,Visual Studio和Eclipse,而我既不是“Apple人”,也不是“Windows人”。我没有通过产品来识别我自己,但事实是,Visual Studio比Xcode更好。 – Greeso 2014-09-20 01:07:11