注釋
? ??/**
?????這里是函數(shù)的說明顶猜,這個標(biāo)準(zhǔn)的注釋使用"command+option+\"三個組合鍵調(diào)出
?????@param title 這是參數(shù)1的描述
?????@param description 這是參數(shù)2的描述
?????@return 這是返回值的描述
?????*/
Help
????option+點按:查看選中符號的幫助提示(Quick Help for Selected Item)掩幢。
????option+雙擊:打開選中符號的幫助文檔。
View Navigator
????command+0:Show/Hide left tool panel(Navigator Area)
? ??command+1-8:Project/Symbol/Find/Issue/Test/Debug/Breakpoint/Report Navigat
View Editor Organization
? ??control+1:Show Related Items(例如Superclasses/Subclasses、Callers/Callees、Protocol?Implementor/Implemented、Includes/Included By)妇多。可輸入實時搜索匹配燕侠。
????control+5:Show Group Files(當(dāng)前文件夾內(nèi)的所有文件)者祖。可輸入實時搜索匹配绢彤。
? ??control+6:Show DocumentItems(當(dāng)前文件的Symbols)七问。可輸入實時搜索匹配茫舶。
Eidtor Window/Tab Switch
????command+shift+[/]:切換標(biāo)簽頁
????單/雙指左右滑動(control+command+←/→):在單標(biāo)簽頁打開的多個文件間切換(Go Back/Forward)
Symbol Jump
????command+L:跳轉(zhuǎn)到指定行烂瘫。
????shift+command+O:Open Quickly,快速全局查找文件奇适、符號坟比,非常常用!
????control+command+↑/↓:切換頭文件/實現(xiàn)文件(switch between a source file (.m,*.mm,*.cc) and the associated header?file(.h)嚷往,Jump toPrevious/NextCounterpart)葛账。
Code Folding
????option+command+←/→:折疊當(dāng)前代碼塊,包括@interface …@end皮仁、@implementation …@end
????option+shift+command+←/→:折疊該文件內(nèi)所有代碼塊(方法/函數(shù):{?Methods&Functions})
????control+shift+command+←/→:折疊當(dāng)前注釋塊(/*Comment Blocks*/)
Text Editing
????command+[/]:向前/向后縮進(jìn)(Shift Left/Right)
????option+command+[/]:將當(dāng)前光標(biāo)所在行代碼上移/下移一行(Move Line Up/Down)
????command+/:以雙斜杠(//)注釋選中的代碼籍琳,再此按下可取消
Find & Replace
? ??shift+command+F(command+3):在Find Navigator中全局查找菲宴。可在[Preferences-General]中設(shè)置Find Navigator Detail的顯示行數(shù)(當(dāng)Navigator Area較窄擠壓時)趋急。
Others
????command+ T : 新建標(biāo)簽