Skip to content

Resourced in referenced libraries can not display. #1070

Closed

Description

@TimberStalker

When viewing a referenced library that has a resource file, for example a png file, the png does not open because the jdt uri schema provided by redhat only supports java decompilation.

I think the best solution is most likely to check the file extension and, for any .java files, use jdt as normal, but for any other file, assume it is a resource, and use another schema, like jdt+resource, which can correctly handle extracting the file from the jar zip.

Activity

  1. changed the title [-]Items in referenced libraries always use the jdt uri scheme, which works for java files, but not any resource files.[/-] [+]Resourced in referenced libraries can not display.[/+] on Aug 24, 2026
  2. github-actions commented on Aug 24, 2026

    @github-actions

    Hi TimberStalker, I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.

    Suggestions

    Other references with low confidence

    The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!

  3. TimberStalker commented on Aug 24, 2026

    @TimberStalker
    Author

    Wait, i didnt mean to close this

  4. TimberStalker commented on Aug 24, 2026

    @TimberStalker
    Author

    I tried very hard to find a workaround so i could allow displaying a png without needing to add right click action, but i simply was not able to, and this would be very nice, especially since the current implementation doesent work anyway,

  5. TimberStalker commented on Aug 24, 2026

    @TimberStalker
    Author

    Actually, it might be easier to create an issue on the main redhat java project to change how jdt is handled to support images, as it seems text formats work fine.

  6. TimberStalker commented on Aug 24, 2026

    @TimberStalker
    Author

    Turns this is already being fixed. Ill close this because of that.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions