Show a concise member summary when hovering over a definition

未关闭
#2,231 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@devin-ai-integration 已经在做这个了。

开始于 2026年11月16日。

  • #2334 来自 @devin-ai-integration —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
go
领域
devtools

调研方向

The payload names no files, tests or entry points, so begin by finding where the existing hover response is built in the language-server code and how model element definitions expose their owned features. The request is open-ended: it leaves open whether to add a configurable limit, an expandable summary, and inherited members, so confirm those choices with maintainers first. Done means a hover on a definition or reference lists each member's kind, name, type and multiplicity, truncated past the chosen limit, and the same behaviour works in notebook cells.

由索引模型根据 Issue 内容生成。

描述

enhancement
Feature request

When hovering over a model element definition or a reference to it, show a concise summary of its owned features alongside its signature and documentation. This would help model authors discover what is available when developing a usage without navigating away from their current location.

For example, the summary could show each member’s kind, name, type, and multiplicity where applicable. Keep large hovers manageable with a configurable limit or an expandable summary, and consider an option to include inherited features with their origin clearly distinguished. The summary should work both in model files and notebook cells.

Related precedents

This request concerns additional hover information, not the incorrect documentation issue #2196.

主要语言
Go
星标
59
派生
20
平均合并
10 小时 23 分钟
30 天内合并 PR
897

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Open-MBEE/OpenSysML 的其他 Issue

查看 Open-MBEE/OpenSysML 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。