From the course: IntelliJ IDEA Community Edition Essential Training

Unlock the full course today

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

Speed up coding with keyboard shortcuts

Speed up coding with keyboard shortcuts

From the course: IntelliJ IDEA Community Edition Essential Training

Start my 1-month free trial

Speed up coding with keyboard shortcuts

- IntelliJ Idea gives you the ability to assign keyboard shortcuts to any action. You can usually execute actions through the menu. So for example, if you want it to sort lines of code you can go to the edit menu and choose sort lines. But notice that there's no keyboard shortcut attached to that action. So to demonstrate this I'm going to create a simple text file. I'll place this text file in my source directory not in the packages, cause it won't be a Java file. I'll right click and select new file. And I'll call this file states.TXT. Now I will type three names of American States Washington, Oregon, and California. Now to sort that text I'll go to the menu and select edit sort lines. And that sorts those lines alphabetically and then I'll choose edit and reverse lines. And now the data is sorted in reverse order. Now I want to attach keyboard shortcuts. Go to your settings or preferences dialogue on Mac I'll…

Contents