Android Code Generator

Compatible with:  IntelliJ IDEA Android Studio
03.02.2016
44 883
Android Code Generator Author Author of this plugin is Tomasz Morcinek.
Public github profile: https://github.com/tmorcinek. Repository Project on github android-codegenerator-plugin-intellij Description Plugin parses xml file, and retrieves data about all the views that contain android:id attribute.
Plugin collects information about view's type and id. Based on that, plugin generates fields, assignment, imports and methods.
Full project description on github's information page. Features

There are several very useful features some of them are:

  • generating Activity Class code from layout
  • generating Fragment Class code from layout
  • generating Adapter Class code from item layout
  • generating Menu code from menu xml
  • creating files from code
  • preview screen with generated code that can be modified before creation of file
  • detection of project package
Compiled with Java 1.6

Download plugin

Recent change notes

Version 1.6
  • ISSUE #11: Add Butter Knife support.
Version 1.5
  • ISSUE #19: Code generation dialog box is out of the screen!
  • ISSUE #13: Change Plugin name
Version 1.4
  • ISSUE #7: Android Studio throwing error when Android Designer editor is open.
  • ISSUE #8: Source path's on windows are too long.
  • ISSUE #9: Error when creating file on windows .
  • ISSUE #10: Adding github.io page link to Plugin description.
Version 1.3
  • Support for IntelliJ IDEA 14.
Version 1.2
  • ISSUE #2: Templates should be editable in PreferencesPages.
  • ISSUE #6: When plugin is about to override existing file content user should be informed.
  • ISSUE #5: Source path should be retrieved from project and there should be combo instead of text field.
Version 1.1
  • ISSUE #1: Editor should pops up when creating file.
  • ISSUE #3: Source path should be saved in persistence store.
  • ISSUE #4: Generate Code Menu Options should be available through editor.
Version 1.0
  • generating Activity Class code from layout
  • generating Fragment Class code from layout
  • generating Adapter Class code from item layout
  • generating Menu code from menu xml
  • creating files from code
  • preview screen with generated code that can be modified before creation of file
  • detection of project package

No comments so far.

Please  sign in  to leave a comment.