Search code examples
javaeclipseeclipse-pluginkeyboard-shortcuts

How to create a shortcode in Eclipse


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++){}

Solution

  • These are 'Templates'.

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