javavscode icon indicating copy to clipboard operation
javavscode copied to clipboard

Error deleting the cache

Open anthonyvdotbe opened this issue 1 month ago • 3 comments

When doing Delete Oracle Java extension cache for this workspace, I got the following error:

Image

There was nothing about the cause of the error in the extension's output and when clicking Reload window the error dialog was dismissed, but VS Code remained open and nothing happened.

So I propose to:

  • log the cause of the error in the extension's output and/or show it directly in the dialog
  • in case of an error, do not show the Reload window button. Instead, add a button to open the extension's cache directory in the operating system's file explorer and advise to close VS Code and delete the directory manually

anthonyvdotbe avatar Oct 13 '25 18:10 anthonyvdotbe