eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

Feature request: show values of object properties on mouse hover while debugging

未关闭
#970 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Java
星标
201
派生
76
平均合并
4 天 7 小时
30 天内合并 PR
21

描述

While debugging a Node application, hovering the mouse over a variable in the current scope will show its value in a popup. However, this does not work for variables' properties.

For example, hovering over a value named obj works, but not obj.propertyName, which instead just shows a documentation popup.

This means the only way to look up object properties is to use the Variables view, which can be cumbersome if a property is deeply nested (like obj.subObj.anotherSubObj.propertyName) or if the variable is in a nested scope (in which case you have to know/find the correct Block/Local/Closure scope that the variable resides in).

It would be helpful if the mouse hover popup could effectively do the work of digging through the Variables view for you.

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先跟踪现有的鼠标悬停弹窗行为,以及 Variables view 如何解析嵌套属性和作用域。使用 obj.propertyName 示例验证预期行为;当悬停时显示直接属性和深层嵌套属性的值,而不是文档弹窗时,即表示完成。

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

评估

技术栈
java, javascript, node.js
领域
developer-experience, devtools
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

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