Skip to content

Commit

Permalink
IDE中import "google/api/annotations.proto"错误提示中Protobuf Support插件不支持高版…
Browse files Browse the repository at this point in the history
…本GoLand,所以需要使用Protocol Buffers插件解决 (#190)
  • Loading branch information
aonoa authored Jul 28, 2023
1 parent d073145 commit 0f18c71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/intro/03-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ keywords:

### 2、IDE中import "google/api/annotations.proto";等proto文件有错误提示(被画波浪线)
IDE中的这个提示不会影响项目的正常编译,如果您需要解决这个报错,请将项目中的thrid_party目录加入Protobuf的custom include paths下。请参照如下文档操作:
* [GoLand](https://github.com/ksprojects/protobuf-jetbrains-plugin#configuration)
* [GoLand](https://github.com/ksprojects/protobuf-jetbrains-plugin#configuration)
* GoLand(新)
<img src='/images/goland-protobuf.png' width="650px" />
* [VSCode](https://github.com/zxh0/vscode-proto3#extension-settings)

### 3、如何使用 goland 进行开发
Expand Down
Binary file added static/images/goland-protobuf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0f18c71

Please sign in to comment.