I writed this code in eclipse
protected void createTables(SQLiteDatabase db) {
db.execSQL(
"create table " + CUSTOMERS_TABLE +" (" +
CustomerId + " text primary key," +
FirstName + " text," +
MiddleName + " text," +
LastName + " text," +
Portrait + " BLOB," +
Gender + " integer," +
Age + " integer," +
Passed + " integer"+
");"
but when I formatted my code using source->format eclipse make them like this
protected void createTables(SQLiteDatabase db) {
db.execSQL("create table " + CUSTOMERS_TABLE + " (" + CustomerId
+ " text primary key," + FirstName + " text," + MiddleName
+ " text," + LastName + " text," + Portrait + " BLOB," + Gender
+ " integer," + Age + " integer,"
+ Passed
+ " integer" +");"
I want eclipse formatter keeps my code as it. What are the settings that I should set?