私は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フォーマッターが私のコードをそのまま保持したいと思っています。どのような設定を行う必要がありますか?