redhat-developer / redhat-developer/vscode-java

Always show "No project detected yet."

Open
#3,285 1 comment 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

Always show "No project detected yet."
image

Environment
  • Operating System: Linux
  • JDK version: openjdk 17.0.8.1 2023-08-24
  • Visual Studio Code version: 1.82.0
  • Java extension version: v0.25.2023091107
Steps To Reproduce

settings.json:
{
"java.configuration.runtimes": [
{
"name": "JavaSE-1.8",
"path": "/usr/lib/jvm/java-8-openjdk-amd64",
"default": true
}
],
"java.configuration.updateBuildConfiguration": "automatic",
"java.debug.settings.onBuildFailureProceed": true,
"java.jdt.ls.java.home": "/usr/lib/jvm/java-17-openjdk-amd64"
}

JDKs:
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status

  • 0 /usr/lib/jvm/java-17-openjdk-amd64/bin/java 1711 auto mode
    1 /usr/lib/jvm/java-17-openjdk-amd64/bin/java 1711 manual mode
    2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode

Previously I didn't have this issue, not sure whether caused by vscode upgrade:-)

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 behavior in Visual Studio Code using the supplied settings.json, JDK paths, and Java extension version. Compare the project-detection state with the screenshot and verify that "No project detected yet." is shown consistently when no project is detected.

Written by the indexing model from the issue text.

Assessment

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