2

Correct me if i'm using any wrong term (I don't know exactly what this feature is called)

Is there any Option/Plugin for creating my own short code for java in Eclipse IDE

Just like these short-code represent

syso --> System.out.println();


syse --> System.error.println();


fori --> for(int i=0;i<args.length;i++){}
Key_coder
  • 534
  • 3
  • 27

2 Answers2

1

These are 'Templates'.

You can create your own in 'Preferences > Java > Editor > Templates'

greg-449
  • 109,219
  • 232
  • 102
  • 145
  • Hi can you help me to solve this problem http://stackoverflow.com/questions/27015236/extract-api-from-class – Key_coder Nov 19 '14 at 11:17
1

Yes, It is possible with eclipse custom templates.

Open Window -> Preferences and type Templates into the search box.

enter image description here

Refer this official help guide to understand easily.

Sagar Pudi
  • 4,634
  • 3
  • 32
  • 51