1 頁 (共 1 頁)

關於Xcode的設定問題

發表於 : 01/23/2007 3:01 pm
LarryLai
各位版友好

我開了一個C program的專案,我想要設定當我按下 " . "以後,compiler會自動顯示該class下面的variable,請問要怎麼設定該功能?
舉下面Code範例:

struct fruit{
int apple;
int orange;
};
void main(void)
{
fruit Larry;
Larry.
_________
| int apple |
| int orange |
----------------
}

我就是希望 在Larry後面打上" . "的時候,程式會自動顯示該class下面的variable,因為這個功能在其他開發工具上蠻常見的,不知Xcode該如何設定。謝謝回答

發表於 : 01/23/2007 3:27 pm
Imperfect Information
XCode Preferences -> Code Sense -> Code Completion

剩下的就自己玩玩看啦~

發表於 : 01/23/2007 10:51 pm
LarryLai
Thank you! It is realy work.

推薦大家開啟這個功能~ coding快很多 :D