microsoft / microsoft/vscode-java-pack

Build Errors disappear after opening file

Open
#1,042 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

example projects:

Steps to reproduce:

  1. Open one of the example projects in VS Code
  2. you can see many errors after project importing
  3. click one of the errors to open the java source file, the errors in this file are gone

We can see the errors are in test files and they just reference types in another project, using the following schema:

dependencies {
    testImplementation project(path: ":XXX:XXXX", configuration: "tests")
}

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

Reproduce the issue by importing the listed JMeter, Hibernate ORM, or Apereo CAS projects in VS Code, then inspect the diagnostics before and after opening a Java source file. Start with the Gradle testImplementation project dependency pattern shown in the report; done should mean the expected diagnostic behavior is consistent before and after opening files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.