我在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"+
");"
但是当我使用 source->format 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" +");"
我希望 eclipse 格式化程序保持我的代码不变。我应该设置哪些设置?