Skip to content

fix: show non-Java resource toggle in view toolbar - #1078

Merged
wenyt (wenytang-ms) merged 2 commits into
mainfrom
fix/promote-non-java-resources-toggle
Sep 3, 2026
Merged

fix: show non-Java resource toggle in view toolbar#1078
wenyt (wenytang-ms) merged 2 commits into
mainfrom
fix/promote-non-java-resources-toggle

Conversation

@wenytang-ms

@wenytang-ms wenyt (wenytang-ms) commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Promote the Show/Hide Non-Java Resources action from the overflow menu to the Java Projects title toolbar.
  • Use eye and eye-closed icons while preserving the existing mutually exclusive configuration conditions.
  • Keep the existing Show/Hide behavior unchanged and update the AutoTest plan to exercise the toolbar action.

Validation

  • AutoTest plan validation: java-dep-view-modes.yaml
  • JDT LS bundle build and VSIX packaging
  • AutoTest 0.7.25 — View Modes & Refresh: 36/36 passing

UI verification

Resources shown: Hide action

Hide Non-Java Resources in the Java Projects title toolbar

Resources hidden: Show action

Show Non-Java Resources in the Java Projects title toolbar

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are small, consistent with existing contribution patterns in package.json, and the PR reports successful AutoTest validation for the updated scenario.

Pull request overview

This PR promotes the existing “Show/Hide Non-Java Resources” toggle from the Java Projects view overflow menu into the view title toolbar, using distinct eye / eye-closed icons while keeping the same mutually exclusive when conditions. It also updates the AutoTest plan commentary to reflect that the action is now exercised via the toolbar.

Changes:

  • Add codicon-based icons to the showNonJavaResources / hideNonJavaResources contributed commands.
  • Move the corresponding view/title menu items from the overflow group into the navigation group so they appear on the view title toolbar.
  • Update the AutoTest plan comments to reflect the direct toolbar action path for the toggle.
File summaries
File Description
test/e2e-plans/java-dep-view-modes.yaml Updates test-plan comments to describe the view-title toolbar toggle behavior for Show/Hide Non-Java Resources.
package.json Adds eye / eye-closed icons to the commands and moves the toggle actions into the Java Projects view title toolbar (navigation@40).
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@wenytang-ms
wenyt (wenytang-ms) merged commit 6e650b9 into main Sep 3, 2026
34 checks passed
@wenytang-ms
wenyt (wenytang-ms) deleted the fix/promote-non-java-resources-toggle branch September 3, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants