redhat-developer / redhat-developer/vscode-java

Quickfix suddenly not working properly with local classes

Open
#1,652 4 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

When referencing a local class in code a quick fix could normally find the local file and add it as an import, but now it can never seem to find anything so just suggests creating a new class/variable etc.

Environment
  • Operating System: Macos 10.13.6
  • JDK version: 8, 261
  • Visual Studio Code version: 1.50.0
  • Java extension version: 0.68.0
Steps To Reproduce
  1. Add a local class reference for one of your custom classes
  2. Open vscode's quick fix and it will not find your local reference.

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

Reproduce the issue in VS Code with a local Java class reference using the environment and extension versions listed. Trace the quick-fix behavior from the reproduction and verify that the completed change restores the suggestion to import the existing local class instead of offering to create a new symbol.

Written by the indexing model from the issue text.

Assessment

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