作者aren (Seize the day)
看板Programming
标题[问题] Coding style 转换的工具?
时间Thu Sep 25 16:28:17 2008
※ [本文转录自 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
1F:推 bobhsiao:astyle 122.116.148.71 09/25 18:46
2F:推 airzone:astyle +1 218.169.54.229 09/25 22:40
3F:推 liangjr:on Linux: indent 76.173.13.240 09/26 10:27