It's not a secret anymore!
The moose likes IDEs, Version Control and other tools and the fly likes Ctrl Spacebar fillers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Ctrl Spacebar fillers" Watch "Ctrl Spacebar fillers" New topic

Ctrl Spacebar fillers

John G Wright

Joined: Oct 25, 2012
Posts: 18
Hi all !

I learnt that when I want main method, I just type main and Ctrl space bar, it automatically inserts public static void main with braces. When I type syso and enters Ctrl + space bar system.out.println getting automatically filled. I feel this to be very very convenient. Likewise, any more Ctrl + space bar fillers there ?

Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 466

Hi John, There are many shortcuts which are generally IDE dependent. You should go through (skim) IDE's manual to find more shortcuts or simple Google it.

Vinod Tiwari | Twitter | Shikshanirman | Guftgu
Peter Johnson

Joined: May 14, 2008
Posts: 5852

You can see all of them by going to Windows > Preferences > Java > Editor > Templates. You can even add your own.

JBoss In Action
I agree. Here's the link:
subject: Ctrl Spacebar fillers
It's not a secret anymore!