How To Create Shortcut For Android Studio In Windows
Android Studio includes keyboard shortcuts for many common actions. Table 1 shows the default keyboard shortcuts by operating organisation. Keep in mind, considering Android Studio is based on IntelliJ IDEA, you can observe additional shortcuts in the IntelliJ Idea keymap reference documentation.
Note: In improver to the default keymaps in table 1 below, you can select from a number of preset keymaps or create a custom keymap. For more than about customizing your keyboard shortcuts, see Configure Custom Keymaps, below.
Table 1. Default keyboard shortcuts for Windows/Linux and Mac operating systems.
| Description | Windows/Linux | Mac |
|---|---|---|
| General | ||
| Save all | Control+Southward | Control+S |
| Synchronize | Control+Alt+Y | Command+Option+Y |
| Maximize/minimize editor | Command+Shift+F12 | Control+Command+F12 |
| Add to favorites | Alt+Shift+F | Option+Shift+F |
| Inspect electric current file with electric current profile | Alt+Shift+I | Selection+Shift+I |
| Quick switch scheme | Control+` (backquote) | Control+` (backquote) |
| Open settings dialogue | Command+Alt+S | Command+, (comma) |
| Open project construction dialog | Control+Alt+Shift+S | Command+; (semicolon) |
| Switch betwixt tabs and tool window | Command+Tab | Control+Tab |
| Navigating and searching within Studio | ||
| Search everything (including code and menus) | Printing Shift twice | Printing Shift twice |
| Find | Command+F | Command+F |
| Notice next | F3 | Control+G |
| Notice previous | Shift+F3 | Command+Shift+G |
| Replace | Control+R | Command+R |
| Detect action | Control+Shift+A | Command+Shift+A |
| Search by symbol name | Command+Alt+Shift+Northward | Control+Choice+O |
| Find class | Command+N | Control+O |
| Detect file (instead of grade) | Control+Shift+North | Command+Shift+O |
| Observe in path | Control+Shift+F | Command+Shift+F |
| Open file structure pop-upwards | Command+F12 | Control+F12 |
| Navigate between open editor tabs | Alt+Correct Arrow or Left Pointer | Control+Right Arrow or Control+Left Arrow |
| Spring to source | F4 or Control+Enter | F4 or Command+Downwardly Arrow |
| Open current editor tab in new window | Shift+F4 | Shift+F4 |
| Recently opened files pop-upward | Control+E | Command+E |
| Recently edited files pop-up | Command+Shift+E | Command+Shift+East |
| Get to terminal edit location | Control+Shift+Backspace | Command+Shift+Delete |
| Close agile editor tab | Control+F4 | Command+W |
| Return to editor window from a tool window | Esc | Esc |
| Hide agile or last active tool window | Shift+Esc | Shift+Esc |
| Become to line | Control+K | Command+50 |
| Open up type hierarchy | Control+H | Control+H |
| Open method hierarchy | Control+Shift+H | Command+Shift+H |
| Open up phone call bureaucracy | Control+Alt+H | Command+Selection+H |
| Viewing layouts | ||
| Zoom in/out | Control+plus or Control+minus | Command+plus or Command+minus |
| Fit to screen | Command+0 | Command+0 |
| Actual size | Control+Shift+one | Control+Shift+1 |
| Pattern tools: Layout Editor | ||
| Toggle betwixt Design and Blueprint modes | B | B |
| Toggle between Portrait and Mural modes | O | O |
| Toggle devices | D | D |
| Forcefulness refresh | R | R |
| Toggle return errors panel | Due east | E |
| Delete constraints | Delete or Control+click | Delete or Control+click |
| Zoom in | Control+plus | Command+plus |
| Zoom out | Command+minus | Command+minus |
| Zoom to fit | Control+0 | Command+0 |
| Pan | Hold Space+click and elevate | Hold Infinite+click and drag |
| Get to XML | Control+B | Control+B |
| Select all components | Control+A | Command+A |
| Select multiple components | Shift+click or Control+click | Shift+click or Command+click |
| Design tools: Navigation Editor | ||
| Zoom in | Command+plus | Command+plus |
| Zoom out | Control+minus | Command+minus |
| Zoom to fit | Control+0 | Command+0 |
| Pan | Hold Space+click and drag | Hold Infinite+click and elevate |
| Go to XML | Control+B | Command+B |
| Toggle return errors console | East | E |
| Group into nested graph | Control+G | Command+G |
| Wheel through destinations | Tab or Shift+Tab | Tab or Shift+Tab |
| Select all destinations | Control+A | Control+A |
| Select multiple destinations | Shift+click or Control+click | Shift+click or Command+click |
| Writing lawmaking | ||
| Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new course) | Alt+Insert | Control+N |
| Override methods | Command+O | Control+O |
| Implement methods | Control+I | Control+I |
| Surround with (if...else / try...catch / etc.) | Control+Alt+T | Command+Option+T |
| Delete line at caret | Command+Y | Control+Delete |
| Collapse/expand current lawmaking block | Control+minus or Control+plus | Command+minus or Command+plus |
| Collapse/aggrandize all code blocks | Control+Shift+minus or Control+Shift+plus | Control+Shift+minus or Command+Shift+plus |
| Indistinguishable current line or choice | Control+D | Command+D |
| Bones code completion | Control+Space | Control+Space |
| Smart code completion (filters the list of methods and variables by expected type) | Control+Shift+Space | Control+Shift+Space |
| Complete statement | Control+Shift+Enter | Command+Shift+Enter |
| Quick documentation lookup | Command+Q | Control+J |
| Show parameters for selected method | Control+P | Command+P |
| Get to declaration (directly) | Control+B or Control+click | Command+B or Command+click |
| Get to implementations | Command+Alt+B | Command+Pick+B |
| Go to super-method/super-form | Command+U | Command+U |
| Open quick definition lookup | Control+Shift+I | Control+Y |
| Toggle project tool window visibility | Alt+1 | Control+1 |
| Toggle bookmark | F11 | F3 |
| Toggle bookmark with mnemonic | Command+F11 | Option+F3 |
| Comment/uncomment with line comment | Control+/ | Command+/ |
| Annotate/uncomment with block comment | Control+Shift+/ | Command+Shift+/ |
| Select successively increasing code blocks | Command+W | Option+Upward |
| Decrease current option to previous state | Control+Shift+W | Option+Down |
| Move to code block start | Command+[ | Selection+Control+[ |
| Move to code block end | Command+] | Option+Command+] |
| Select to the code block start | Control+Shift+[ | Selection+Control+Shift+[ |
| Select to the lawmaking cake end | Control+Shift+] | Pick+Command+Shift+] |
| Delete to end of word | Command+Delete | Option+Delete |
| Delete to commencement of word | Control+Backspace | Option+Delete |
| Optimize imports | Command+Alt+O | Control+Pick+O |
| Project quick set (show intention deportment and quick fixes) | Alt+Enter | Choice+Enter |
| Reformat code | Command+Alt+L | Command+Selection+Fifty |
| Motorcar-indent lines | Command+Alt+I | Command+Pick+I |
| Indent/unindent lines | Tab or Shift+Tab | Tab or Shift+Tab |
| Smart line join | Control+Shift+J | Command+Shift+J |
| Smart line split | Command+Enter | Command+Enter |
| Showtime new line | Shift+Enter | Shift+Enter |
| Adjacent/previous highlighted fault | F2 or Shift+F2 | F2 or Shift+F2 |
| Build and run | ||
| Build | Control+F9 | Control+F9 |
| Build and run | Shift+F10 | Control+R |
| Apply Changes and Restart Activeness | Command+F10 | Control+Command+R |
| Apply Code Changes | Control+Alt+F10 | Control+Shift+Command+R |
| Debugging | ||
| Debug | Shift+F9 | Command+D |
| Step over | F8 | F8 |
| Pace into | F7 | F7 |
| Smart stride into | Shift+F7 | Shift+F7 |
| Step out | Shift+F8 | Shift+F8 |
| Run to cursor | Alt+F9 | Option+F9 |
| Evaluate expression | Alt+F8 | Option+F8 |
| Resume plan | F9 | Command+Option+R |
| Toggle breakpoint | Control+F8 | Command+F8 |
| View breakpoints | Command+Shift+F8 | Command+Shift+F8 |
| Refactoring | ||
| Copy | F5 | F5 |
| Move | F6 | F6 |
| Safe delete | Alt+Delete | Command+Delete |
| Rename | Shift+F6 | Shift+F6 |
| Modify signature | Control+F6 | Command+F6 |
| Inline | Command+Alt+North | Control+Pick+N |
| Extract method | Command+Alt+Chiliad | Command+Selection+One thousand |
| Extract variable | Control+Alt+V | Command+Option+V |
| Extract field | Control+Alt+F | Control+Option+F |
| Extract constant | Control+Alt+C | Control+Option+C |
| Extract parameter | Command+Alt+P | Command+Selection+P |
| Version control / local history | ||
| Commit projection to VCS | Control+1000 | Control+G |
| Update project from VCS | Command+T | Control+T |
| View contempo changes | Alt+Shift+C | Choice+Shift+C |
| Open VCS popup | Alt+` (backquote) | Command+V |
Configure custom keymaps
Yous tin can cull from a number of preset keymaps or modify a preset keymap to create a new custom keymap in the keymap settings for Android Studio.
To open the keymap settings, choose File > Settings (on Mac, Android Studio > Preferences) and navigate to the Keymap pane.
Effigy 1. The Android Studio keymap settings window.
- Keymaps dropdown: Select the desired keymap from this card to switch between preset keymaps.
- Actions listing: Right click on an action to modify information technology. You can add together boosted keyboard shortcuts for the activity, add mouse shortcuts to associate an action with a mouse click, or remove current shortcuts. If you are using a preset keymap, modifying an action's shortcuts volition automatically create a copy of the keymap and add your modifications to the re-create.
- Copy button: Select a keymap from the dropdown menu to use as a starting point, and click Copy to create a new custom keymap. You can modify the keymap proper name and shortcuts.
- Reset push button: Select a keymap from the dropdown menu and click Reset to revert it to its original configuration.
- Search box: Type here to search for a keyboard shortcut by the action proper noun.
- Search by Shortcut: Click Find Actions by Shortcut and type a shortcut to search for actions by shortcut.
Source: https://developer.android.com/studio/intro/keyboard-shortcuts
Posted by: lovellequithere1991.blogspot.com

0 Response to "How To Create Shortcut For Android Studio In Windows"
Post a Comment