關於Xcode的設定問題

Mac 軟體使用經驗交流專區

版主: Alex Tsaiross_ttdigdog

回覆文章
內容
發表人
LarryLai
基本會員
文章: 48
註冊時間: 05/16/2005 10:19 pm

關於Xcode的設定問題

#1 文章 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該如何設定。謝謝回答
頭像
Imperfect Information
留言五百如一日
文章: 894
註冊時間: 01/27/2005 5:33 pm
來自: Imperfect World...

#2 文章 Imperfect Information »

XCode Preferences -> Code Sense -> Code Completion

剩下的就自己玩玩看啦~
LarryLai
基本會員
文章: 48
註冊時間: 05/16/2005 10:19 pm

#3 文章 LarryLai »

Thank you! It is realy work.

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