看板 AndroidDev 關於我們 聯絡資訊
最近從Eclipse轉成Android studio 真的是超級不習慣 首先,在Eclipse我都會對著method名稱, 按ctrl+shift+g查看這個method有那些其它 程式用到它 但我在Android studio,我找不到這個快速鍵 也想請教高手,這個快速鍵要在android studio如何按出來? 假設我原本在A function,然後跳到B function, 按alt+← 就可以跳回A function,或上一個呼叫的class中的function 按alt+→就會跳回B function 請問高手,這個快速鍵要如何在android studio中按出來呢? 還有一個,就是在Eclipse debug mode中,我滑鼠輕輕移到先前執行過的 例如a.getId()的getId()上方,就會自動有"值"出現(如果getId()回傳的是整數或字串) 但是,在Android studio中a.getId() 我移上去,就是一個物件,還要按+,列出相關的method 另外,想問如何android studio中,尋找檔案中有xxxx的關鍵字,例如register()這 個字串,如何在所有檔案中搜尋出來,有包含register()的字 重新整理問題, 1、Eclipse中ctrl+shift+g,Android studio取代的快速鍵是什麼? 2、Eclipse中alt+←及alt+→,Android studio的快速鍵是什麼? 3、debug mode中,如果移到 getId()的method中,是有值出現, 而不是僅顯示物件 4、android studio中,如何搜尋所有檔案中,有包含xxx文字的檔案 也許之後還有許多快速鍵的問題 如,以前直接在Eclipse中打 sysout然後按alt+/,就會自動有system.out.println(""); 出來,這個在android studio中,怎麼出現? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.228.242.206 ※ 文章網址: https://www.ptt.cc/bbs/AndroidDev/M.1435681090.A.556.html ※ 編輯: purin88 (61.228.242.206), 07/01/2015 00:19:31
ggttoo44: 1.我也想知道。2.mac是comm + > 與 <。3.shift快速兩下 07/01 01:12
ggttoo44: 。 07/01 01:12
ggttoo44: 更正 1.comm + 點擊方法名稱 。4.我也想知道。 07/01 01:14
ggttoo44: 補充comm + o = 快速找尋類別名稱 07/01 01:15
chiel: 直接去Android studio setting改快捷鍵的template成eclipse 07/01 08:53
chiel: 生命有限 不要花在背快速鍵 07/01 08:55
passli: 4 好像可以cmd + shift + f 07/01 09:19
miaowX2: alt < 在main menu|navigate|Back 自己加入快速建 07/01 09:37
hyouun: ctrl+空白有建議方法,shift+ctrl+enter是自動完成,其實 07/01 10:43
hyouun: 可以找設定頁去找,另外在help>productivity guide有一些 07/01 10:43
hyouun: 小技巧可以參考,還會計算你用了幾次XD 07/01 10:43
RX1226: Find Usages, alt + F7 07/01 11:26
RX1226: 常用的: http://rx1226.pixnet.net/blog/category/3517891 07/01 11:28
ssccg: 先記一個就好,ctrl+shift+A: 搜尋功能 07/01 15:13
ckck18: 選 File->Settings->Keymap 裡面選 keymap=Eclipse 07/02 18:36