ctrl + shift + F genel sınıfın içinde ne işe yaramazsa iyi olur. ancak biçimlendirme yöntem içinde çalışmaz, bkz. = Işaret hizalanmamış. niye ya? ve bunu nasıl çalıştıracağım?Eclipse biçimlendirici: kodu benim yöntemimde nasıl hizalarım
public class myClass extends ActivityInstrumentationTestCase2 {
public static boolean myVar = true;
private static final String TARGET_PACKAGE_ID = "com.xxxx.test";
private static final String LAUNCHER_ACTIVITY_FULL_CLASSNAME = "com.xxxx.test";
private static Class launcherActivityClass;
...
...
private String getOnScreeninfoByType() {
ArrayList<TextView> textViews = new ArrayList<TextView>();
ArrayList<Button> listButtons = new ArrayList<Button>();
ArrayList<ToggleButton> listToggleButtons = new ArrayList<ToggleButton>();
ArrayList<EditText> listEditTexts = new ArrayList<EditText>();
ArrayList<CheckBox> listCheckBoxes = new ArrayList<CheckBox>();
ArrayList<RadioButton> listRadioButtons = new ArrayList<RadioButton>();
ArrayList<ImageButton> listImageButtons = new ArrayList<ImageButton>();
ArrayList<ImageView> listImageViews = new ArrayList<ImageView>();
ArrayList<ProgressBar> listProgressBars = new ArrayList<ProgressBar>();
...
}
sayesinde
altında tutulması durumunda proje ayarlarına bakın. Burada aynı yöntemde hizalanacak hiçbir şey bulamadı. –