Wednesday, February 20, 2019

Some Eclipse tips

Compare with Android Studio, Eclipse run faster, more easier to use.
You should use Eclipse Luna.
To change text font in Eclipse, do like this.
On Eclipse bar, click Window > Preferences > GeneralAppearanceColors and FontsBasicText Font
Double click Text Font, choose font type, text size, press Save.

To larger code screen, move cursor to edge border and drag.

To rename class or file nào đó, right click to file, Refactor>Rename

To import new project, choose File > Import

You should choose Existing Android Code into Workspace.
If you choose Existing Profect into Workspace in tab Genaral above, sometime it 's not work.
When work in file  xml, if you cut a view like Button, TextView and move to another place, you must Save and clean project, or project will crash.
To clean project, on Eclipse bar, choose Project > Clean, screen like this.

Choose project want to clean, press OK.
Forrget this, you can't find error that make it crash.
To set UTF-8 type mode, go to Window > Preferences >General > Work Space.
In Other choose UTF-8, Apply, OK.


No comments:

Post a Comment