Andrew
Andrew

Reputation: 41

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.

Upvotes: 4

Views: 5226

Answers (3)

Leif
Leif

Reputation: 61

I think this is what you are looking for:

https://raw.github.com/android/platform_development/master/ide/eclipse/android-formatting.xml

Upvotes: 6

Deepak Azad
Deepak Azad

Reputation: 7923

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 ?

Upvotes: 0

gsfd
gsfd

Reputation: 1070

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

Upvotes: 2

Related Questions