MyThinkPond

On Java, Python, Groovy, Grails, Spring, Node.js, Linux, Arduino, ARM, Embedded Devices & Web

IntelliJ – Live Template – main() method generation

Posted by Venkatt Guhesan on April 27, 2011

IntelliJ – Live Template – main() method generation

Type “psvm” Ctrl+J will generate the main method.

Why “psvm”?
“public static void main”

😉

Advertisements

5 Responses to “IntelliJ – Live Template – main() method generation”

  1. Haha, Eclipse’s

    Type “main” + Ctrl+Space feels better. Its 4 characters either way 🙂

  2. arun said

    You can create a new code template with ‘main’ and configure to output main method’s code.
    Check File>Settings>Live Templates>other.
    Click on add and create a new one with main and copy paste the same code in psvm.

  3. vin check said

    This is a interesting post. Thanks…

  4. automotive said

    This is a well thought out post. TY…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: