Skip to content

feat(code-editor): 支持可编辑 Peek 与多引用检查 - #3482

Open
qingqing-ux wants to merge 10 commits into
goplus:uifrom
qingqing-ux:issue-3455-references
Open

qingqing-ux wants to merge 10 commits into
goplus:uifrom
qingqing-ux:issue-3455-references

Conversation

@qingqing-ux

@qingqing-ux qingqing-ux commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

关联

关联 #3455,基于前序 proposal #3468 继续迭代;保留 #3468 不变。

设计考量

  • 统一在主编辑器中查看:查看定义或选中的引用时,直接打开对应代码,保留编辑和重命名能力。
  • 按引用数量分流:0 处不显示入口,1 处直接跳转,多处才打开选择弹窗。
  • 弹窗只负责选择:左侧显示引用列表,右侧只读预览代码;单击预览,双击或点击「跳转到此处」进入主编辑器。
  • 覆盖不同调用情况:查看引用支持跨文档,以及函数调用自身或相互调用的情况。
  • 支持连续下钻:每次跳转记录来源,可逐层返回;也可一键关闭,回到最初位置。
  • 参数修改逐处确认:系统列出受影响的调用位置,由用户逐一修正;只有不会影响其他代码改动时,才允许整组撤销。

验证结果

9 个测试文件、49 项测试通过;类型检查、Lint、构建和真实 WASM 验证通过。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T09:34:09.475328Z 4a90c69 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

# Conflicts:
#	spx-gui/src/components/xgo-code-editor/ui/hover/HoverUI.vue
#	spx-gui/src/components/xgo-code-editor/ui/hover/index.ts

This branch was successfully deployed

1 active deployment
Preview – builder b6b2a5ed Deployed Sep 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant