Over a million developers have joined DZone.

Tip: Add Closing Parenthesis to Java Statement from Keyboard

· Java Zone

Learn more about how the Java language, tools and frameworks have been the foundation of countless enterprise systems, brought to you in partnership with Salesforce.

I got a great tip from Tomás Lázaro in the comments of Complete List of Macro Keywords article. This:

 

Now when I am typing in the middle of a statement and the error mark shows I need another parenthesis (sometimes you need 3 or 4 closing parenthesis and it is impossible almost to know), I now only need to press Alt-0 and I have one more closing parenthesis.

 

Discover how the Force.com Web Services Connector (WSC) is a code-generation tool and runtime library for use with Force.com Web services, brought to you in partnership with Salesforce.

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
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.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}