跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[分享创造] 利用大模型辅助开发的另一种思路,自己写的一个 IDEA 插件,生成模板 prompt 喂给 ChatGPT

发表于

项目地址: https://github.com/zjh7890/gpt-tools ,建议在 Release 下载最新版

目前支持的 prompt 类型

  1. 根据项目代码生成 用于代码生成 的 prompt ,比如根据 java client api 包生成 RPC 代码,见示例
  2. 根据 git 历史获取 diff 之后生成 用于 Code Review 的 prompt ,见示例
  3. 根据 drawio 流程图生成代码 的 prompt ,直接拷贝 drawio 流程图,见示例

目前支持的 prompt ,可以自定义,只要内置变量可以满足需求

haha

示例

示例 1 RPC 调用代码

img

生成结果:

img

示例 2 Code Review ( bug召回率很高,准备率不高,意味着有错误基本能找出来,但是找出来的错误很多不是错误

img

示例 3 流程图生成代码

复制钉钉文档流程图

image-20240829193515281

粘贴到实现 service 逻辑的对话框

img

image-20240829193505043

生成效果

img

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.