Upgrade to Pro — share decks privately, control downloads, hide ads and more …

10 Android Studio Shortcut Tips You Might Not Know

979d93b360f80486b121486a9d063ad5?s=47 Hiroshi Kurokawa
September 29, 2015

10 Android Studio Shortcut Tips You Might Not Know

Slides for Roppongi.aar #1 (http://roppongi-aar.connpass.com/event/19478/).

In this talk, some useful yet (probably) non-popular shortcut tips of Android Studio are introduced. Basically, all the tips are available on IntelliJ IDEA.

Reference:
- 010 – Boning Up on Core Java | Fragmented
http://fragmentedpodcast.com/episodes/10/
- IntelliJ IDEA
https://www.jetbrains.com/idea/help/intellij-idea.html
- 忙しい人のためのIntelliJ IDEAショートカット集(´-`) - Qiita
http://qiita.com/yoppe/items/f7cbeb825c071691d3f2
- ココが好きだよIntelliJ IDEA - 便利機能10選 #jbugj - #侍ズム
http://samuraism.jp/diary/2013/12/22/1387723680000.html

Exercise:
https://gist.github.com/hkurokawa/f62f96a56e3c1388f60a

979d93b360f80486b121486a9d063ad5?s=128

Hiroshi Kurokawa

September 29, 2015
Tweet

More Decks by Hiroshi Kurokawa

Other Decks in Technology

Transcript

  1. 10 Android Studio Shortcut Tips You Might Not Know 2015-09-29

    Roppongi.aar #1 Hiroshi Kurokawa / @hydrakecat
  2. Reference 010 – Boning Up on Core Java | Fragmented

    IntelliJ IDEA 忙しい人のためのIntelliJ IDEAショートカット集(´-`) - Qiita ココが好きだよIntelliJ IDEA - 便利機能10選 #jbugj - #侍ズム
  3. 1. Productivity Guide H e l p > P r

    o d u c t i v i t y G u i d e Show Statistics about your shortcut key usage
  4. 2. Key Promoter https://plugins.jetbrains.com/plugin/?idea&pluginId=4455 Pop up a shortcut key if

    it is available. Rather annoying and might encourage you to use shortcut keys!
  5. 3. Postfix Completion http://blog.jetbrains.com/idea/2014/03/postfix-completion/ You can easily insert template codes

    without backward caret jumps.
  6. 4. Extend Selection ⌘ + W and ⇧ + ⌘

    + W Expand the selection area little by little. Really smart.
  7. 5. Extract Local Variable / Field ⌘ + ⌥ +

    V and ⌘ + ⌥ + F Extract the selected area as a local variable or a field.
  8. 6. Next/Previous Method ⌥ + ↑ and ⌥ + ↓

    Simple but useful. You can bring the caret to the head of the method in which it is located with the key.
  9. 7. Duplicate Line ⌘ + T Useful when you are

    working on a resource file. It can duplicate the multiple lines.
  10. 8. Select In... ⌥ + F 1 Easily locate the

    current file in the specified view.
  11. 9. Surround With... ⌘ + ⌥ + T Quickly surround

    the selected area with an if block, try-catch block or Live Template.
  12. 10. Complete Current Statement ⌥ + ⇧ + E n

    t e r Complete the current statement. Useful when you have nested parentheses. Or just too lazy to input a single semicolon ὡ
  13. Exercise: How quick can you build the simple app? https://gist.github.com/hkurokawa/f62f96a56e3c1388f60a

    My Record: 6' 18" (just before launching the app)