redhat-developer / redhat-developer/vscode-java

Constructor parameters are not added when completing on anonymous class creation

Open
#2,497 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug content-assist
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

[provide a description of the issue]

Environment

Version: 1.67.2 (user setup)
Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
Date: 2022-05-17T18:15:52.058Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.22000

  • Java extension version: 1.7.0
Current Result

https://user-images.githubusercontent.com/6193897/172510567-f44741ff-6051-4759-9f00-763c2719ccf2.mp4

Expected Result

The parameter should be added when the completion item is selected.

Additional Informations

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

No file, test, or entry point is identified in the report. Reproduce completion for an anonymous class creation with the stated VS Code and Java extension versions, then trace the completion path and verify that selecting the item inserts the constructor parameters.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.