It’s possible to create a keyboard shortcut to nearly any menu item for any application. For example, lets say you’d like to create a keyboard shortcut to show extensions in Google Chrome.
To do so start System Preferences from the Apple menu in the upper left. Next, click the keyboard option and then click the Keyboard Shortcuts button.
Click the plus to add a new keyboard shortcut. Search for the application, enter in the name of the menu item, the keyboard shortcut you want to assign and click Add.
The shortcut will now have been added. You may need to close and reopen the application before it appears.