On Finding The Anykey

Posted by Michael Hunger on Aug 4, 2008 in development, fun |

Finally I’ve found it: The mysterious “Anykey” is living under the strange name of “QuickFix” in your IDE of choice.
a black key with an Any imprint
Pressing Alt+Enter (Cmd+Enter) in Intellij IDEA or Ctrl+1 in Eclipse enables you to program on a “per example” basis. You can do

introduction of variables, fields, classes,
changing method signatures
completing structure
surrounding code with live template
importing dependencies
and much more …

IntelliJ IDEA QuickFix example

and much more just by pressing the “AnyKey” at any offending piece of code. Especially the ton (600+) of intentions of IDEA fixes almost each possible syntax problem using a single key.

Kent Beck used the AnyKey (QuickFix) when describing the Refactoring By Example.

You can find further keystroke reference cards in the help menus of your IDE.

DZone made up a nice collection of refcardz:
IntelliJ IDEA DZone Refcard
NetBeans 6.1 Refcard

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • LinkedIn
  • Netvibes
  • PDF
  • Ping.fm


Leave a Reply

XHTML: You can use these tags:' <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2007-2018 Better Software Development All rights reserved.
Multi v1.4.5 a child of the Desk Mess Mirrored v1.4.6 theme from BuyNowShop.com.