Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Tip: Add Closing Parenthesis to Java Statement from Keyboard

DZone's Guide to

Tip: Add Closing Parenthesis to Java Statement from Keyboard

· Java Zone ·
Free Resource

Java-based (JDBC) data connectivity to SaaS, NoSQL, and Big Data. Download Now.

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.

 

Connect any Java based application to your SaaS data.  Over 100+ Java-based data source connectors.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}