[問題] Eclipse 陣列縮排
大家好
Eclipse的自動縮排很方便,打完一段也會順手按一下Ctrl+Shift+F整理格式
但是碰到陣列時就整個亂掉了,比如:
CashCard cards[]={
new CashCard("A001",500,0),
new CashCard("A002",300,0),
new CashCard("A003",1000,0),
new CashCard("A004",2000,0),
new CashCard("A005",3000,0)
};
按下縮排之後會變成:
CashCard cards[] = { new CashCard("A001", 500, 0),
new CashCard("A002", 300, 0), new CashCard("A003", 1000, 0),
new CashCard("A004", 2000, 0), new CashCard("A005", 3000, 0) };
造成閱讀上的不方便,請問有什麼好方法嗎?謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.35.19.34
※ 文章網址: http://www.ptt.cc/bbs/Eclipse/M.1413967881.A.D40.html
推
10/22 23:15, , 1F
10/22 23:15, 1F
→
10/22 23:17, , 2F
10/22 23:17, 2F
→
10/22 23:18, , 3F
10/22 23:18, 3F
→
10/22 23:19, , 4F
10/22 23:19, 4F
→
10/23 11:40, , 5F
10/23 11:40, 5F
→
10/26 21:38, , 6F
10/26 21:38, 6F
Eclipse 近期熱門文章
PTT數位生活區 即時熱門文章