1. 程式人生 > >IDEA整合的 Thrift 外掛進行 thrift 編譯

IDEA整合的 Thrift 外掛進行 thrift 編譯

1.首先安裝 thrift 外掛在 IDEA 上.

2.安裝完畢後開啟Preferences 搜尋 Thrift


新增 thrift executable 後應用儲存即可.

3.建立一個 thrift 專案(這裡不在截圖)

4.選擇專案設定-File-Project structure-facets.


新增目標語言轉換即可.

然後點選thrift 檔案, compile file 即可.