Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ctrl Spacebar fillers

 
John G Wright
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

Thanks
 
Vinod Tiwari
Ranch Hand
Posts: 466
1
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can see all of them by going to Windows > Preferences > Java > Editor > Templates. You can even add your own.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic