Welcome back to Quick Code Craft!
I'm your host, Deep. Here at Quick Code Craft, we explore small tips to multiply our productivity.
Last time, we learned how to quickly locate files in JetBrains IDE using the shortcut CMD + Shift + N. If you missed that episode, I highly recommend checking it out here!
Today, we're going to expand our knowledge by exploring a few variations of file searching:
Find Classes:
Similar to finding files, this shortcut aids in locating any class within your source code. In languages like Kotlin, where a single file can contain multiple classes, the file name may not necessarily match the class name. To utilize this feature, simply hit CMD + N, type in the name or initials of the class, and let the IDE handle the rest.
Find Symbols:
Operating much like the previous shortcut, this function assists in locating symbols such as methods, variables, and constants. Essentially, it allows you to find any code symbol swiftly. The shortcut for this action is CMD + Opt + Shift + N.
Notice how these shortcuts are intuitive and complement each other! Learning one leads naturally to mastering others.
Now, let's discuss today's final shortcut: Find All.
This shortcut, perhaps the simplest to remember, combines all the functionalities you've learned so far! It acts as a master key that unlocks everything—files, classes, and symbols. To summon this magical feature, simply press Shift twice in quick succession. Voilà! You'll be greeted with an awesome text box where you can type in what you are looking for, and the IDE will handle the rest.
So, go ahead, give these shortcuts a try! This is Deep signing off from Quick Code Craft, where we learn to multiply our productivity. Until next time, happy coding!
Watch video Keyboard shortcuts - Find Classes, Find Symbols, Find All in JetBrains IDEs. online without registration, duration hours minute second in high quality. This video was added by user quick-code-craft 17 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16 once and liked it 0 people.