redhat-developer / redhat-developer/vscode-java

No quick actions available when targetting class name in ctor invocation

Open
#2,531 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

refactoring upstream
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

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)
image

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by constructing the short Java method and constructor-call case described in the issue, then compare quick-action availability on both methods. Use the reported Windows, JDK 17, VS Code 1.68.1, and Java extension 1.7.0 environment if possible. Done means both methods expose quick actions without errors or stack traces.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.