默認情況下IDE goland 是不支持protobuf協議文件類型".proto"的,爲了更快高效的編寫proto文件中的代碼下面我們介紹一款插件讓其支持,該插件支持關鍵字高亮及語法錯誤提示
1、File->Settings->Plugins->Browse repositories->輸入protobuf support->install,並重啓IDE
2、file->Settings->Editor->File Types,找到Protobuf,註冊支持*.proto
————————————————