microsoft / microsoft/vscode-java-dependency

Java Projects view displays redundant empty folders when "Show Non-Java Resources" is enabled

Open
#1,044 4 comments 0 reactions 1 assignee View on GitHub

@wenytang-ms is already working on this.

Since Sep 15, 2026.

ai-triaged enhancement
Dominant language
TypeScript
Stars
199
Forks
105
Avg merge
1d 22h
Merged PRs (30d)
27

Description

When the Hide Non-Java Resources option is enabled, all non-Java resources are hidden from the Java Projects view (including files such as application.yml and .xml files.). However, when switching to Show Non-Java Resources, the view also shows an empty src/main folder and a duplicate empty target folder, which appear to be unnecessary.

Would it be possible to refine the Java Projects view rendering logic to avoid displaying these redundant directories and provide a cleaner project structure view?

Image

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.