002. Android Studio Configuration Note template

Source: Internet
Author: User

This article focuses on how functions in Android Studio add comments to make annotations as easy as Eclipse

The steps are as follows:

First, file->setting->editor->live Templates

Second, click on the far right +, create a template Group  

Third, fill in the group name, any fill in

Select the group you just created to create the live Template

Five, fill in the abbreviation, convenient input and memory can input doc, that is, a shortcut to the comment, enter the doc plus carriage return above the function body

Six, enter the comment template, template text note templates, you can refer to the Eclipse template, my template is as follows

Seven, set the doc shortcut to the effective location: when the declaration takes effect, that is, you enter the function name above the doc plus carriage return

Eight, the key point, this step is wrong, date and author will not take effect

Assign a value of four variables desc, user, date, time to the definition, and click Edit variables, as set by the variable

Nine, see the moment of effect, enter doc on the function name and enter

002. Android Studio Configuration Note template

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.