redhat-developer / redhat-developer/vscode-java

No Refactor-->Rename when lambda placeholder selected

Open
#1,883 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

[provide a description of the issue]
No Refactor-->Rename when lambda placeholder selected

Environment
  • Operating System: Fedora 33
  • JDK version: 11.0.9 OpenJDK
  • Visual Studio Code version: 1.55.2
  • Java extension version: 0.76
Steps To Reproduce
  1. Select the placeholder and click Alt+Intro
    image

[Please attach a sample project reproducing the error]
Please attach logs

Project and line code : https://github.com/jonathanvila/tackle-pathfinder/blob/5cb45f42cb61e3d1c4d6f9c6850eafdc5177e563/src/main/java/io/tackle/pathfinder/services/AssessmentSvc.java#L126

Current Result

No actions

Expected Result

At least "Refactor rename"

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

Open the referenced AssessmentSvc.java at line 126 and reproduce the issue by selecting the lambda placeholder and using Alt+Intro. Trace the refactoring actions available for that selection; done means the menu offers at least a Refactor Rename action instead of showing no actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
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.