"Go" IntelliJ Create main function shortcut

Source: Internet
Author: User

http://blog.csdn.net/tiantiandjava/article/details/42269173

Today, I stumbled across a shortcut key to create a main function in IntelliJ, followed by A For loop, System.out.println ();

You will see a PSVM prompt when you write the code, and then click the TAB key to write the Main method.

PSVM is the first letter of public static void Main.

Then there is a fori prompt to type for in the method body, and a for loop is automatically created when the TAB key is selected.

How like writing a System.out.println (); it's sout.

Knowing this rule, there should be a lot of similar usage.

More tips can be viewed by CTRL + J, which is command+j under Mac system.

"Go" IntelliJ Create main function shortcut

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.