简体   繁体   中英

Are there Android Code Templates for Eclipse?

Is there a "standard" set of code templates for android development in Eclipse?

I realize I can make my own, but I'm just starting out and prefer to learn from other people's examples instead of making my own mistakes.

Yeah there are standard templates, if you want to look at them then go to Window->preferences-> Expand Java-> expand Code Style then click on Code Templates, you can view and edit the standard templates

Note that there are 2 kinds of templates for Java in Eclipse

  • Preferences > Java > Code Style > Code Templates
  • Preferences > Java > Editor > Templates

Which kind are you looking for?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM