看板 Programming 關於我們 聯絡資訊
※ [本文轉錄自 C_and_CPP 看板] 作者: aren (Seize the day) 看板: C_and_CPP 標題: [問題] Coding style 轉換的工具? 時間: Thu Sep 25 16:27:59 2008 每個人都有自己 coding style 以 for 迴圈括弧來說,就有常見的兩種 for(i;i<10;i++){ ... } for(i;i<10;i++) { ... } 請問有沒有哪個 tool 可以讓 user 設定他想要的 style 將 code 轉成他習慣的 format? 如上面例子互轉? 謝謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.196.98.32 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.196.98.32
bobhsiao:astyle 122.116.148.71 09/25 18:46
airzone:astyle +1 218.169.54.229 09/25 22:40
liangjr:on Linux: indent 76.173.13.240 09/26 10:27