-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathandroidIDEs.html
126 lines (125 loc) · 5.09 KB
/
androidIDEs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link rel = "stylesheet" href = "css/style.css">
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon'/ >
<title>IDE Shortcuts</title>
</head>
<body>
<div class="container">
<div class="fluid-container">
<ul class="menu">
<li><a href="browsers.html">Browsers</a></li>
<li><a href="androidIDEs.html">Android IDEs</a></li>
<li><a href="textEditors.html">Text Editors</a></li>
</ul>
</div>
<h1 class="col-md-7 col-md-offset-3"> Android IDE Shortcuts (Windows) </h1>
<table class="table">
<thead>
<th> Task </th> <th> Android Studio </th> <th> Eclipse </th>
</thead>
<tbody>
<tr>
<td> go to declaration </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>B</kbd> </td>
<td class="eclipse"> <kbd>F3</kbd> </td>
</tr>
<tr>
<td> resolve error </td>
<td class="android"> <kbd>Alt</kbd> + <kbd>Enter</kbd> </td>
<td class="eclipse"> <kbd>F2</kbd> </td>
</tr>
<tr>
<td> previous code tab </td>
<td class="android"> <kbd>Alt</kbd> + <kbd>←</kbd> </td>
<td class="eclipse"> <kbd>Alt</kbd> + <kbd>Page Up</kbd> </td>
</tr>
<tr>
<td> next code tab </td>
<td class="android"> <kbd>Alt</kbd> + <kbd>→</kbd> </td>
<td class="eclipse"> <kbd>Alt</kbd> + <kbd>Page Down</kbd> </td>
</tr>
<tr>
<td> format code (spacing, line breaks, etc) </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>L</kbd> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>F</kbd> </td>
</tr>
<tr>
<td> collapse block </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>-</kbd> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>-</kbd> </td>
</tr>
<tr>
<td> expand block </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>+</kbd> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>+</kbd> </td>
</tr>
<tr>
<td> collapse all blocks </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>-</kbd> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>/</kbd> </td>
</tr>
<tr>
<td> expand all blocks </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>+</kbd> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>*</kbd> </td>
</tr>
<tr>
<td> cut line (no need to select line of code) </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>X</kbd> </td>
</tr>
<tr>
<td> copy line (no need to select line of code) </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>C</kbd> </td>
</tr>
<tr>
<td> duplicate line to below (no need to select line of code) </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>D</kbd> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>↓</kbd> </td>
</tr>
<tr>
<td> duplicate line to above (no need to select line of code) </td>
<td> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>↑</kbd> </td>
</tr>
<tr>
<td> single line comment/uncomment </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>/</kbd></td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>/</kbd> </td>
</tr>
<tr>
<td> multiple line (or any highlighted text) comment </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>/</kbd></td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>/</kbd></td>
</tr>
<tr>
<td> multiple line (or any highlighted text) uncomment </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>/</kbd></td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>\</kbd></td>
</tr>
<tr>
<td> close tab </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>F4</kbd> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>W</kbd> </td>
</tr>
<tr>
<td> search entire project(s) </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>F</kbd> </td>
<td class="eclipse"> <kbd>Ctrl</kbd> + <kbd>H</kbd> </td>
</tr>
<tr>
<td> show method parameters </td>
<td class="android"> <kbd>Ctrl</kbd> + <kbd>P</kbd> </td>
<td class="eclipse"> <kbd>F2</kbd> </td>
</tr>
</tbody>
</table>
</div>
<div class="center">
<!-- tweet button -->
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://goo.gl/EViYjt" data-text="Handy Android Studio and Eclipse shortcuts, tabulated." data-via="NohaKKareem" data-size="large" data-dnt="true">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</body>
</html>