From the course: Android Studio Essential Training 2020

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Useful code editing shortcuts

Useful code editing shortcuts

From the course: Android Studio Essential Training 2020

Start my 1-month free trial

Useful code editing shortcuts

- Android studio has many keyboard shortcuts that you can use to speed up your programming. As I showed previously, you can learn about all of the IDE's keyboard shortcuts by going to the help menu and choosing keymap reference. And that will open this pdf file in a browser window. There's one set of keyboard shortcuts for Windows and Linux, and another set for macOS. I'll show you a few of my favorite keyboard shortcuts, but it's important to understand that there are so many, you just need to go explore them yourself. One of the most common things you might need to do, is add comments to your code. You can select some code, and then press command and the forward slash key on Mac or control and slash on Windows. Do it once to comment and do it again to uncomment, so you're toggling the comment characters on and off. When you're coding, you'll see that autocomplete happens pretty much automatically. For example, if I say I…

Contents