redhat-developer / redhat-developer/vscode-java
No quick actions available when targetting class name in ctor invocation
未关闭
还没有人认领这个 Issue。
refactoring
upstream
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Given a short (static/nonstatic, probably visibility independent) method with just return statement and ctor call there are no quick actions available. Log is empty - no stacktraces nor errors. High reproducibility (will try to provide 100% repro case if this is not enough)

Current Result
Only lower method has quick actions.
Expected Result
Both methods have quick actions.
Environment
- Operating System: Windows_NT x64 10.0.19044
- JDK version: OpenJDK Temurin-17.0.2+8 (build 17.0.2+8)
- Visual Studio Code version: 1.68.1
- Java extension version: 1.7.0
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先构建 issue 中描述的简短 Java 方法和构造函数调用案例,然后比较两个方法上的 quick actions 可用性。如果可能,请使用所报告的 Windows、JDK 17、VS Code 1.68.1 和 Java extension 1.7.0 环境。两个方法都能在没有错误或 stack traces 的情况下提供 quick actions,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100