microsoft / microsoft/vscode-java-pack

Bug: Source Action -> "Generate Constructors..." only available after at least one class member was added

Open
#1,352 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug java needs-triage
Dominant language
TypeScript
Stars
352
Forks
166
Avg merge
17h 47m
Merged PRs (30d)
32

Description

Environment:

  • VS Code Version: 1.89.1
  • Extension Version: v0.26.0
  • JDK Type & Version: Java version: 17.0.9, vendor: Oracle Corporation
  • OS Type & Version: Windows 11

Step to Reproduce:
2024-06-04_19h03_46

Expected Behavior:
The "Generate Constructors ..." option should instantly be available without the requirement to add a class member.

Actual Behavior:
The "Generate Constructors ..." option becomes available earliest when a single class member was added.

Additional comment:
This behaviour is also available in IntelliJ and makes sense.

Related Issues: No related issues found.

Contributor guide

No contributing guide indexed for this repository

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 tracing the implementation behind the "Generate Constructors..." Source Action in the VS Code Java extension and reproduce the behavior described in the issue. Confirm that the action is available for a class with no members, then verify the existing behavior still works after adding a class member.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.