در حال بارگذاری ...

Assigning Context Menu Shortcut0:00

As someone who prefers to reach for the mouse as little as possible, there's one unfortunate thing. Consider this here, where we want to condense the request class path. Well, yes, I can right-click and do it here. No big deal. Or, I'll go back for a second, yes, I could also assign a shortcut to it. But sometimes, for these contextual actions, I just prefer to open up the dialog and then choose from there, rather than having to remember, in this case, five or six brand new shortcuts. It's just hard to keep that in your head. So, why don't we see if we can assign a keyboard shortcut to the right-click context menu. Okay, I'm going to look for keyboard shortcuts, and I'm just going to look for context, something like that. Here we go, Show Editor Context Menu. So, at the moment, it's linked to Shift F10. Let's change that to, how about, Alt Enter. And if you come from the PHPStorm world,

دوست دارید گاهی خبرهای Laracasts را ایمیل کنیم؟