redhat-developer / redhat-developer/vscode-java
vscode sometimes does not detect .java files and thus no code action or content assist available
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
I see that eventually my jbang setup projects vscode stops "seeing" the main .java file.
it is in file explorer, but not in java projects - it just sees the src directory not the content inside it.
sometimes minutes later it will show up. others it just never showsup .
Environment
- Operating System: osx
- JDK version: 11
- Visual Studio Code version: both vscode and vscodium
- Java extension version: 0.77
Steps To Reproduce
- jbang init -t github@jbangdev test.java
- jbang edit --live --open test.java
- sometimes test.java will not have any code action or validation applied.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on macOS with JDK 11, VS Code or VSCodium, and Java extension 0.77 using jbang init -t github@jbangdev test.java followed by jbang edit --live --open test.java. Investigate why test.java appears in the file explorer but not in Java projects, and verify that code actions, validation, and content assist consistently become available.
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
- 35/100