idea的2018可以安装
Protobuf Support
插件,2020版本也可以搜索到,但是就2019版本无法安装,在Plugins Marketplace中无法搜索到。

也就是无法线上安装。无法安装该插件,那么*.proto
文件只能在txt上开发,无法自动补全或者验错。
1. 下载文件后安装(行不通)
在网页插件商店,均不支持2019版本
https://plugins.jetbrains.com/search?search=Protobuf%20Support
首先去寻找插件文件,但如下图所示的三个插件,均不支持2019.x
的版本。


2. github下载(实际方案)
https://github.com/ksprojects/protobuf-jetbrains-plugin/issues/133

上图显示:IntelliJ 2019.1 beta无法安装protobuf-jetbrains-plugin
插件,但是在0.13.0
版本中进行修复。

https://github.com/ksprojects/protobuf-jetbrains-plugin/releases/tag/v0.13.0


安装后进行重启:

增加后缀类型,最终结果:

网友评论