10 Android Studio Shortcut Tips
You Might Not Know
2015-09-29 Roppongi.aar #1
Hiroshi Kurokawa / @hydrakecat
Slide 2
Slide 2 text
Reference
010 – Boning Up on Core Java | Fragmented
IntelliJ IDEA
忙しい人のためのIntelliJ IDEAショートカット集(´-`) - Qiita
ココが好きだよIntelliJ IDEA - 便利機能10選 #jbugj - #侍ズム
Slide 3
Slide 3 text
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
Slide 4
Slide 4 text
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!
Slide 5
Slide 5 text
3. Postfix Completion
http://blog.jetbrains.com/idea/2014/03/postfix-completion/
You can easily insert template codes without backward caret jumps.
Slide 6
Slide 6 text
4. Extend Selection
⌘ + W and ⇧ + ⌘ + W
Expand the selection area little by little.
Really smart.
Slide 7
Slide 7 text
5. Extract Local Variable / Field
⌘ + ⌥ + V and ⌘ + ⌥ + F
Extract the selected area as a local variable or a field.
Slide 8
Slide 8 text
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.
Slide 9
Slide 9 text
7. Duplicate Line
⌘ + T
Useful when you are working on a resource file.
It can duplicate the multiple lines.
Slide 10
Slide 10 text
8. Select In...
⌥ + F
1
Easily locate the current file in the specified view.
Slide 11
Slide 11 text
9. Surround With...
⌘ + ⌥ + T
Quickly surround the selected area with an if block, try-catch block or
Live Template.
Slide 12
Slide 12 text
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 ὡ
Slide 13
Slide 13 text
Exercise: How quick can you build the
simple app?
https://gist.github.com/hkurokawa/f62f96a56e3c1388f60a
My Record: 6' 18" (just before launching the app)