![](/img/trans.png)
[英]eclipse cdt: calling make file from command line and adding version number
[英]Calling format option of Eclipse from command line
我已經通過在Eclipse中為C / C ++進行了自定義格式設置
Window > Preferences > C/C++ > Code Style > Formatter
要在Eclipse中使用它,我在源菜單選項或鍵盤綁定(Ctrl + Shift + F)中使用format選項。
我的問題
我可以從命令行運行此格式選項嗎?
就像從cmd調用Eclipse並將其添加為參數一樣
C:/> eclipse -format <filename.c>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.