开发者

Can I run the Eclipse c++ Formatters from the command line

I found this page which shows how to run the Java formatter but I cannot find s开发者_如何学Cimilar resources to run the built-in C/C++ formatters.

It is possible To do this?


Its possible. You can call Eclipse with he parameter: eclipse.exe -application org.eclipse.jdt.core.JavaCodeFormatter -config "./org.eclipse.jdt.core.prefs" "../lala/tmp" ...


From the eclipse doc C/C++ Development User Guide > Tasks > Using the Formatter Application:

eclipse -application org.eclipse.cdt.core.CodeFormatter [ OPTIONS ] [ -config <configFile> ] <files>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜