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

The CMS developers love. Open Source, API-first and Enterprise-grade. Try BloomReach CMS for free.

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.

 

BloomReach CMS: the API-first CMS of the future. Open-source & enterprise-grade. - As a Java developer, you will feel at home using Maven builds and your favorite IDE (e.g. Eclipse or IntelliJ) and continuous integration server (e.g. Jenkins). Manage your Java objects using Spring Framework, write your templates in JSP or Freemarker. Try for free.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}