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