IDE Plugin FAQ-ApiHug - API design Copilot

🤗 ApiHug × {Postman|Swagger|Api...} = 快↑ 准√ 省↓

  1. GitHub - apihug/apihug.com: All abou the Apihug
  2. apihug.com: 有爱,有温度,有质量,有信任
  3. ApiHug - API design Copilot - IntelliJ IDEs Plugin | Marketplace

docs/IDE/999_FAQ.md · dearxuecom/apihug.com - Gitee.comhttps://gitee.com/dearxuecom/apihug.com/blob/master/docs/IDE/999_FAQ.md

ProtoBuf

Proto 文件不能识别, can not recognize proto file

目前IDE 支持的 Proto buffer 插件最流行有两个:

  1. IDE 自带的, 供应商是 JetBrains s.r.o. ✅✅✅
  2. 三方 HIGAN ❌❌❌

目前这两个插件是冲突的,只能支持之一。⚠️

ApiHug Plugin 依赖 IDE 自带的 Proto Editor 插件,进行AST 语法树的解析,所以必须激活 JetBrains s.r.o. ✅ Proto插件:

Proto 文件不能import, cannot recognize the proto import

ApiHug SDK proto 导入 import "swagger/annotations.proto"; 报错:

ApiHug SDK proto import import "swagger/annotations.proto"; fail:

01: 编译项目, compile the project (markdown or gradle task)

02: 编译完成后, 查看proto 项目的 build缓存, after compile success, check the project proto build cache:

{PROJECT}/{PROTO-MODULE}/build/extracted-include-protos:

03: 如果还是没有引入, 手动配置 proto import; if still not import then please add path manually:

  1. open Settings panel
  2. find Protocol Buffers
  3. un-check Configure Automatically
  4. add the {PROJECT}/{PROTO-MODULE}/build/extracted-include-protos to the Import Paths:

最终所有 import 应该都变绿, Eventually all the import should turn green!

⚠️ sometime the official proto editor may crash, please pay attention to the crash notification!

if even restart IDEA this broken still consistent, please report to us: report issue

Gradle

不能识别Gradle, can not recognize as gradle project

IDE 应该弹出 Load Gradle Project , 如果通知被被关闭, 打开 Notification 手动触发。

IDE should pop up a notification: Load Gradle Project , if notification pop up was forbidden, then please open the Notification panel to load it manually!

Gradle 编译报错, gradle compile failure

  1. report issue
  2. Homepage find QR code to join out chat group.

API Design tree not present/refresh

  1. refresh the tree
  2. rebuild the tree(heavy), recompile and then refresh

if the error still consistent, then report issue!

Check version

Check the ApiHug IDE plugin version installed:

Top Menu: ApiHug -> About:

Plugin 0.2+ issue

Please check here

Especially Spring boot upgrade!

Reference

  1. ApiHug101-Bilibili
  2. ApiHug101-Youtube
相关推荐
代码充电宝17 分钟前
LeetCode 算法题【中等】189. 轮转数组
java·算法·leetcode·职场和发展·数组
我命由我1234520 分钟前
PDFBox - PDDocument 与 byte 数组、PDF 加密
java·服务器·前端·后端·学习·java-ee·pdf
花哥码天下24 分钟前
Oracle下载JDK无需登录
java·开发语言
摇滚侠39 分钟前
Spring Boot 3零基础教程,yml语法细节,笔记16
java·spring boot·笔记
RunningShare44 分钟前
高可用架构实战:SpringBoot+MongoDB构建AI原生应用
spring boot·mongodb·架构
wei8440678721 小时前
本地项目第一次推送到gitee上的完整命令
java·android studio
星球奋斗者1 小时前
计算机方向如何才能更好的找到工作?(成长心得)
java·后端·考研·软件工程·改行学it
Jabes.yang1 小时前
互联网大厂Java面试:缓存技术与监控运维的深度探讨
java·面试指南·缓存技术·监控运维
海梨花1 小时前
【八股笔记】SSM
java·开发语言·笔记·后端·面试·框架
珹洺1 小时前
Java-Spring入门指南(二十五)Android 的历史,认识移动应用和Android 基础知识
android·java·spring