Posts

Showing posts from June, 2013

Free Auto generate android&Java Class Diagram (UML) on Eclipse

Image
Just install ObjectAid UML Explorer for Eclipse.
This plugin will automatically create Class Diagram you can move class or path by your self.
You can also customize to hide some attribute e.g. private variable,inner class,static variable etc.
Download Here

The ObjectAid UML Explorer is an agile and lightweight code visualization tool for the Eclipse IDE. It shows your Java source code and libraries in live UML class and sequence diagrams that automatically update as your code changes. The image below is a class diagram of actual source code; click on it to see the editor in the Eclipse Java Perspective.

Android Studio (IntelliJ) Basic

Image
Useful shortcut (Base on ItelliJ)

Ctrl+Alt+L Auto format,Optimize Import,Rearrange
Shift+Esc Show Editor
Ctrl+Shift+A Find Action

Ctrl+Mouse Over  Brief Info
Ctrl+ Space Basic Code Completion
Ctrl+Shift+Space Smart code completion (filters the list of methods and variables by expected type)
Alt+Enter Quick Fix
Ctrl+Q Document Lookup // Place the cursor to the method you wanna lookup

Ctrl+- Fold code
Ctrl++ unFold Code


Shift+F10 Run
Shift+F9 DeBug
Ctrl+/ Auto Comment
Ctrl+Alt+Shift+T Refactor this
Shift+F6 Refactor/Rename

Ctrl+J Insert Code Template
Alt+Delete Safe Delete
Ctrl+Alt+(M/V/F/C/P) Auto Create Method/Var/Field/Constant/Parameter

Alt+ 1 Show Project
Alt+ 6 Show Android LogCat
Alt+ 7 Show Code Structure
Alt+Up/Down go to next/previous method



Type todo in a comment to Create ToDo

Analyze/Inspec Code
This will search for bad programming and also give suggest.
But don't trust Android Studio in everythings because some suggestions is wrong e.g. remove redundant cast
which may cause compile error.

And…