Over a million developers have joined DZone.

Is That Shortcut in Use?

DZone's Guide to

Is That Shortcut in Use?

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

How can I find out whether a particular keyboard shortcut is assigned to an action in the NetBeans IDE? That question was posted by davenull in a comment on my blog entry last month about Hippie Completion.

I will admit up front: the answer I provide here is a hack. As Brian Leonard points out in this IssueZilla entry, the IDE should have better support for this feature.

Let's say you are wondering whether or not Ctrl+Shift+Period is assigned to an action. Select Tools > Options > Keymap. You will see a list of the types of actions:


In order to find out whether Ctrl+Shift+Period is assigned, you need to attempt to assign it to an action. The easiest way to do this is to try to assign it to an action that does not currently have a keystroke assigned.

Expand the entry for Help and select the entry for About and click the Add button:


That brings up the Assign Shortcut dialog, where you can type in Ctrl+Shift+Period. If the keystroke combination you type in is already in use, the IDE will tell you to which action it is assigned. In my installation, that keystroke combination is already assigned:


Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}