Skip to content

Fix command 'java.dashboard.refresh' not found#4382

Open
amritamishra01 wants to merge 3 commits into
redhat-developer:mainfrom
amritamishra01:fix/dashboard-refresh-command-4381
Open

Fix command 'java.dashboard.refresh' not found#4382
amritamishra01 wants to merge 3 commits into
redhat-developer:mainfrom
amritamishra01:fix/dashboard-refresh-command-4381

Conversation

@amritamishra01

Copy link
Copy Markdown
Contributor

Summary

Fixes the issue where running Java: Refresh from the command palette fails with:

command 'java.dashboard.refresh' not found

Root cause

The dashboard refresh command was registered only after the Java Dashboard panel was opened.

Fix

  • moved dashboard refresh command registration to initialization
  • ensured the dashboard is opened before refresh logic runs
  • preserved refresh behavior when the panel is already open

Validation

  • launched extension development host
  • ran Java: Refresh directly from command palette
  • verified dashboard opens successfully
  • reran refresh to confirm no duplicate tab and no command errors

Fixes #4381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant